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.BalancingDelta.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.BalancingDelta,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.62/1.62, allocations: 171.2 MB / 186.8 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 8 kB / 233.3 MB, free: 0.8281 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09515, allocations: 38.77 MB / 272.1 MB, free: 9.977 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/0.4594, allocations: 74.85 MB / 347 MB, free: 8.039 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.4598, allocations: 91.94 kB / 347 MB, free: 7.949 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6938/1.154, allocations: 156.2 MB / 0.4915 GB, free: 48.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.836e-06/1.154, allocations: 0 / 0.4915 GB, free: 48.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002361/1.154, allocations: 99.88 kB / 0.4916 GB, free: 48.51 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: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01942/1.173, allocations: 4.296 MB / 0.4958 GB, free: 44.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.173, allocations: 12.03 kB / 0.4958 GB, free: 44.13 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002705/1.176, allocations: 0.6621 MB / 0.4964 GB, free: 43.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/1.178, allocations: 450.6 kB / 0.4968 GB, free: 43.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007027/1.186, allocations: 2.653 MB / 0.4994 GB, free: 40.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005423/1.186, allocations: 349 kB / 0.4998 GB, free: 39.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/1.188, allocations: 443.9 kB / 0.5002 GB, free: 39.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02437/1.212, allocations: 7.003 MB / 0.507 GB, free: 32.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/1.213, allocations: 7.906 kB / 0.507 GB, free: 32.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001185/1.214, allocations: 188 kB / 0.5072 GB, free: 32.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/1.214, allocations: 195.9 kB / 0.5074 GB, free: 31.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/1.231, allocations: 5.026 MB / 0.5123 GB, free: 26.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05116/1.282, allocations: 21.84 MB / 0.5336 GB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005665/1.287, allocations: 2.545 MB / 0.5361 GB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/1.288, allocations: 65.73 kB / 0.5362 GB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/1.288, allocations: 60.5 kB / 0.5363 GB, free: 2.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 6.362e-06/1.288, allocations: 0 / 0.5363 GB, free: 2.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.2936/1.582, allocations: 12.15 MB / 0.5481 GB, free: 52.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/1.582, allocations: 123 kB / 0.5482 GB, free: 52.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/1.583, allocations: 0.7732 MB / 0.549 GB, free: 52.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006057/1.584, allocations: 56.55 kB / 0.549 GB, free: 52.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/1.585, allocations: 1.538 MB / 0.5505 GB, free: 51.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001796/1.587, allocations: 0.9296 MB / 0.5514 GB, free: 50.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/1.587, allocations: 43.34 kB / 0.5515 GB, free: 50.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003609/1.588, allocations: 428.8 kB / 0.5519 GB, free: 50.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004933/1.593, allocations: 1.881 MB / 0.5537 GB, free: 50.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006168/1.599, allocations: 2.323 MB / 0.556 GB, free: 50.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006174/1.605, allocations: 2.283 MB / 0.5582 GB, free: 50.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.719e-05/1.605, allocations: 2.75 kB / 0.5582 GB, free: 50.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01556/1.621, allocations: 5.264 MB / 0.5634 GB, free: 49.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/1.621, allocations: 8.719 kB / 0.5634 GB, free: 49.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-05/1.621, allocations: 15.48 kB / 0.5634 GB, free: 49.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003913/1.625, allocations: 1.391 MB / 0.5648 GB, free: 49.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/1.627, allocations: 343.1 kB / 0.5651 GB, free: 49.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007403/1.635, allocations: 5.124 MB / 0.5701 GB, free: 47.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/1.637, allocations: 235.2 kB / 0.5703 GB, free: 47.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006552/1.638, allocations: 102.6 kB / 0.5704 GB, free: 47.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * 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.004388/1.642, allocations: 1.705 MB / 0.5721 GB, free: 47.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005796/1.643, allocations: 143.3 kB / 0.5722 GB, free: 47.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.656, allocations: 5.065 MB / 0.5772 GB, free: 47.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0119/1.668, allocations: 4.737 MB / 0.5818 GB, free: 46.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.212e-05/1.668, allocations: 0 / 0.5818 GB, free: 46.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.951e-05/1.668, allocations: 14.55 kB / 0.5818 GB, free: 46.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02649/1.694, allocations: 10.88 MB / 0.5924 GB, free: 41.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.53e-05/1.694, allocations: 3.781 kB / 0.5924 GB, free: 41.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/1.696, allocations: 223 kB / 0.5926 GB, free: 41.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00371/1.7, allocations: 1.391 MB / 0.594 GB, free: 41.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000686/1.701, allocations: 68.27 kB / 0.5941 GB, free: 40.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007425/1.708, allocations: 5.104 MB / 0.599 GB, free: 37.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.708, allocations: 5.5 kB / 0.5991 GB, free: 37.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/1.727, allocations: 8.253 MB / 0.6071 GB, free: 33.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/1.728, allocations: 261.5 kB / 0.6074 GB, free: 33.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007774/1.728, allocations: 41.47 kB / 0.6074 GB, free: 33.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.73, allocations: 64.8 kB / 0.6075 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007618/1.731, allocations: 240.9 kB / 0.6077 GB, free: 33.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/1.731, allocations: 75.78 kB / 0.6078 GB, free: 33.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001066/1.732, allocations: 0.5968 MB / 0.6083 GB, free: 32.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.732, allocations: 0 / 0.6083 GB, free: 32.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00383/1.736, allocations: 0.9821 MB / 0.6093 GB, free: 32.65 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (139): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * 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.01957/1.756, allocations: 9.914 MB / 0.619 GB, free: 26.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01141/1.767, allocations: 4.457 MB / 0.6233 GB, free: 22.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.767, allocations: 0 / 0.6233 GB, free: 22.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00659/1.774, allocations: 2.248 MB / 0.6255 GB, free: 20.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/1.777, allocations: 306.7 kB / 0.6258 GB, free: 20.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06372/1.841, allocations: 29.41 MB / 0.6546 GB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005739/1.847, allocations: 3.234 MB / 0.6577 GB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002998/1.85, allocations: 1.249 MB / 0.6589 GB, free: 7.344 MB / 362.7 MB Notification: Performance of SimCode: time 1.442e-06/1.85, allocations: 0 / 0.6589 GB, free: 7.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.003/5.853, allocations: 162 MB / 0.8171 GB, free: 100.1 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat