Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.614/1.614, allocations: 171.1 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004747, allocations: 8 kB / 233.3 MB, free: 0.8203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08074/0.08125, allocations: 38.77 MB / 272.1 MB, free: 9.969 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3376/0.4189, allocations: 74.6 MB / 346.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.4192, allocations: 79.95 kB / 346.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7675/1.187, allocations: 171.9 MB / 0.5065 GB, free: 33.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.187, allocations: 0 / 0.5065 GB, free: 33.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002545/1.187, allocations: 111.9 kB / 0.5066 GB, free: 32.96 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1355 * Number of variables: 1355 Notification: Performance of Generate backend data structure: time 0.02043/1.207, allocations: 4.657 MB / 0.5112 GB, free: 28.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.208, allocations: 8.031 kB / 0.5112 GB, free: 28.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002726/1.21, allocations: 0.7234 MB / 0.5119 GB, free: 27.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/1.212, allocations: 490.2 kB / 0.5123 GB, free: 27.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007598/1.22, allocations: 2.93 MB / 0.5152 GB, free: 24.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005418/1.221, allocations: 377.7 kB / 0.5156 GB, free: 23.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/1.223, allocations: 479.9 kB / 0.516 GB, free: 23.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0219/1.244, allocations: 7.683 MB / 0.5235 GB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001909/1.245, allocations: 15.89 kB / 0.5235 GB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001278/1.246, allocations: 200 kB / 0.5237 GB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000242/1.246, allocations: 223.9 kB / 0.5239 GB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/1.262, allocations: 5.474 MB / 0.5293 GB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.303/1.565, allocations: 23.95 MB / 0.5527 GB, free: 47.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006979/1.572, allocations: 2.758 MB / 0.5554 GB, free: 47.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/1.573, allocations: 74.12 kB / 0.5554 GB, free: 46.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/1.573, allocations: 56.06 kB / 0.5555 GB, free: 46.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 7.534e-06/1.573, allocations: 0 / 0.5555 GB, free: 46.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.02534/1.598, allocations: 14.21 MB / 0.5694 GB, free: 39.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/1.598, allocations: 135.9 kB / 0.5695 GB, free: 39.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/1.6, allocations: 0.7641 MB / 0.5702 GB, free: 39.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004741/1.6, allocations: 60.27 kB / 0.5703 GB, free: 39.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009823/1.601, allocations: 1.637 MB / 0.5719 GB, free: 38.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001503/1.603, allocations: 1.059 MB / 0.5729 GB, free: 38.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/1.603, allocations: 41.75 kB / 0.573 GB, free: 38.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/1.603, allocations: 438.5 kB / 0.5734 GB, free: 38.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004586/1.608, allocations: 2.113 MB / 0.5755 GB, free: 38.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004891/1.613, allocations: 2.562 MB / 0.578 GB, free: 37.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005322/1.618, allocations: 2.557 MB / 0.5805 GB, free: 37.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/1.618, allocations: 7.453 kB / 0.5805 GB, free: 37.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01332/1.631, allocations: 5.967 MB / 0.5863 GB, free: 37.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/1.632, allocations: 9.688 kB / 0.5863 GB, free: 37.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/1.632, allocations: 14.12 kB / 0.5863 GB, free: 37.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004311/1.636, allocations: 1.763 MB / 0.588 GB, free: 36.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/1.638, allocations: 332 kB / 0.5883 GB, free: 36.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008773/1.647, allocations: 6.418 MB / 0.5946 GB, free: 32.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.649, allocations: 240.1 kB / 0.5948 GB, free: 32.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/1.65, allocations: 107 kB / 0.5949 GB, free: 32.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.004288/1.654, allocations: 1.871 MB / 0.5968 GB, free: 31.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/1.655, allocations: 159.5 kB / 0.5969 GB, free: 31.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/1.667, allocations: 5.88 MB / 0.6027 GB, free: 29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01143/1.679, allocations: 5.528 MB / 0.6081 GB, free: 26.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/1.679, allocations: 3.562 kB / 0.6081 GB, free: 26.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-05/1.679, allocations: 16.47 kB / 0.6081 GB, free: 26.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0261/1.705, allocations: 12.21 MB / 0.62 GB, free: 21.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-05/1.705, allocations: 0 / 0.62 GB, free: 21.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002066/1.707, allocations: 227.9 kB / 0.6202 GB, free: 21.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/1.712, allocations: 1.744 MB / 0.6219 GB, free: 20.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004606/1.712, allocations: 74.36 kB / 0.622 GB, free: 20.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008655/1.721, allocations: 6.419 MB / 0.6283 GB, free: 16.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.721, allocations: 13.39 kB / 0.6283 GB, free: 16.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0204/1.741, allocations: 9.353 MB / 0.6374 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005585/1.742, allocations: 278.2 kB / 0.6377 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008483/1.743, allocations: 36 kB / 0.6377 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.744, allocations: 63.62 kB / 0.6378 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007614/1.745, allocations: 265.7 kB / 0.638 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002868/1.745, allocations: 82.45 kB / 0.6381 GB, free: 7.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001069/1.746, allocations: 0.5985 MB / 0.6387 GB, free: 6.832 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.746, allocations: 0 / 0.6387 GB, free: 6.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003374/1.75, allocations: 1.068 MB / 0.6397 GB, free: 5.762 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.02258/1.772, allocations: 10.68 MB / 0.6502 GB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01481/1.787, allocations: 5.021 MB / 0.6551 GB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.787, allocations: 0.875 kB / 0.6551 GB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008139/1.795, allocations: 2.574 MB / 0.6576 GB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/1.799, allocations: 354.5 kB / 0.6579 GB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3481/2.147, allocations: 31.69 MB / 0.6889 GB, free: 84.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006182/2.153, allocations: 3.495 MB / 0.6923 GB, free: 83.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00344/2.157, allocations: 1.365 MB / 0.6936 GB, free: 83.78 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/2.157, allocations: 0 / 0.6936 GB, free: 83.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.833/5.99, allocations: 205.3 MB / 0.8941 GB, free: 52.41 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat