Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003457, allocations: 11.98 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1473, allocations: 44.5 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4723/0.6197, allocations: 85.12 MB / 393.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.6201, allocations: 85.27 kB / 393.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8294/1.45, allocations: 157.4 MB / 0.5382 GB, free: 81.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.629e-06/1.45, allocations: 3.969 kB / 0.5382 GB, free: 81.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00038/1.45, allocations: 97.42 kB / 0.5383 GB, free: 81.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.02819/1.478, allocations: 4.344 MB / 0.5426 GB, free: 80.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/1.478, allocations: 14 kB / 0.5426 GB, free: 80.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004203/1.483, allocations: 0.691 MB / 0.5432 GB, free: 80.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02607/1.509, allocations: 1.7 MB / 0.5449 GB, free: 80.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/1.521, allocations: 2.691 MB / 0.5475 GB, free: 79.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000904/1.522, allocations: 350.9 kB / 0.5479 GB, free: 79.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002976/1.525, allocations: 442.8 kB / 0.5483 GB, free: 79.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03598/1.561, allocations: 7.539 MB / 0.5557 GB, free: 79.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002956/1.561, allocations: 6.531 kB / 0.5557 GB, free: 79.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002541/1.564, allocations: 193.9 kB / 0.5558 GB, free: 79.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006608/1.565, allocations: 304.9 kB / 0.5561 GB, free: 79.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/1.584, allocations: 6.183 MB / 0.5622 GB, free: 79.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05801/1.642, allocations: 23.24 MB / 0.5849 GB, free: 71.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/1.653, allocations: 6.459 MB / 0.5912 GB, free: 67.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02645/1.679, allocations: 10.8 MB / 0.6017 GB, free: 61.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/1.679, allocations: 62.27 kB / 0.6018 GB, free: 61.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 7.043e-06/1.679, allocations: 0 / 0.6018 GB, free: 61.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.02356/1.703, allocations: 13 MB / 0.6145 GB, free: 52.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/1.703, allocations: 72.31 kB / 0.6145 GB, free: 52.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/1.705, allocations: 1.071 MB / 0.6156 GB, free: 51.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006309/1.706, allocations: 61.36 kB / 0.6157 GB, free: 51.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009621/1.707, allocations: 1.698 MB / 0.6173 GB, free: 50.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001726/1.708, allocations: 1.052 MB / 0.6183 GB, free: 49.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004038/1.709, allocations: 58.84 kB / 0.6184 GB, free: 49.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003583/1.709, allocations: 457.8 kB / 0.6188 GB, free: 49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005167/1.714, allocations: 2.206 MB / 0.621 GB, free: 47.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006258/1.721, allocations: 2.908 MB / 0.6238 GB, free: 44.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006502/1.727, allocations: 2.711 MB / 0.6265 GB, free: 42.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.873e-05/1.727, allocations: 4 kB / 0.6265 GB, free: 42.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01614/1.744, allocations: 6.251 MB / 0.6326 GB, free: 36.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/1.744, allocations: 12 kB / 0.6326 GB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.182e-05/1.744, allocations: 20 kB / 0.6326 GB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003754/1.747, allocations: 1.433 MB / 0.634 GB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003984/1.752, allocations: 0.515 MB / 0.6345 GB, free: 35.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/1.759, allocations: 5.174 MB / 0.6396 GB, free: 30.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/1.763, allocations: 373 kB / 0.6399 GB, free: 30.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00073/1.763, allocations: 141.3 kB / 0.6401 GB, free: 30.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * 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 (301): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.004871/1.768, allocations: 1.702 MB / 0.6417 GB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000704/1.769, allocations: 169.8 kB / 0.6419 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/1.785, allocations: 5.63 MB / 0.6474 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01341/1.798, allocations: 5.165 MB / 0.6524 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.798, allocations: 4 kB / 0.6524 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.697e-05/1.798, allocations: 10.45 kB / 0.6524 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02848/1.827, allocations: 11.15 MB / 0.6633 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.791e-05/1.827, allocations: 0 / 0.6633 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/1.83, allocations: 274.7 kB / 0.6636 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00383/1.833, allocations: 1.407 MB / 0.665 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007958/1.834, allocations: 67.69 kB / 0.665 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00711/1.841, allocations: 5.133 MB / 0.67 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.841, allocations: 0 / 0.67 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3123/2.154, allocations: 8.698 MB / 0.6785 GB, free: 77.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002686/2.156, allocations: 0.7327 MB / 0.6792 GB, free: 77.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008043/2.157, allocations: 35.69 kB / 0.6793 GB, free: 77.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/2.159, allocations: 88.42 kB / 0.6794 GB, free: 77.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009343/2.16, allocations: 241.2 kB / 0.6796 GB, free: 77.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003475/2.161, allocations: 81.45 kB / 0.6797 GB, free: 77.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001805/2.163, allocations: 0.788 MB / 0.6804 GB, free: 77.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/2.163, allocations: 1.188 kB / 0.6804 GB, free: 77.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005447/2.168, allocations: 1.074 MB / 0.6815 GB, free: 77.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor0.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 (174): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.02417/2.192, allocations: 9.222 MB / 0.6905 GB, free: 76.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01429/2.207, allocations: 5.148 MB / 0.6955 GB, free: 76.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.207, allocations: 3.438 kB / 0.6955 GB, free: 76.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007398/2.214, allocations: 2.465 MB / 0.6979 GB, free: 76.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/2.218, allocations: 310.3 kB / 0.6982 GB, free: 76.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0634/2.281, allocations: 37.23 MB / 0.7346 GB, free: 56.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008448/2.29, allocations: 3.239 MB / 0.7378 GB, free: 70.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003794/2.294, allocations: 1.332 MB / 0.7391 GB, free: 69.84 MB / 426.7 MB Notification: Performance of SimCode: time 3.086e-06/2.294, allocations: 0 / 0.7391 GB, free: 69.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.809/6.103, allocations: 166.3 MB / 0.9014 GB, free: 82.06 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat