Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.36/4.36, allocations: 433.2 MB / 440.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.097e-05, allocations: 0 / 0.5325 GB, free: 1.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6859/0.6859, allocations: 98.72 MB / 0.6289 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2979/0.9839, allocations: 149.4 MB / 0.7748 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/0.9844, allocations: 91.94 kB / 0.7749 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7315/1.716, allocations: 36.74 MB / 0.8108 GB, free: 154.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.384e-06/1.716, allocations: 0 / 0.8108 GB, free: 154.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.082e-05/1.716, allocations: 24.95 kB / 0.8108 GB, free: 154.7 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002779/1.719, allocations: 0.9639 MB / 0.8118 GB, free: 154.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/1.719, allocations: 9.75 kB / 0.8118 GB, free: 154.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/1.722, allocations: 237.1 kB / 0.812 GB, free: 154 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/1.723, allocations: 0.5455 MB / 0.8125 GB, free: 153.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/1.723, allocations: 21.19 kB / 0.8125 GB, free: 153.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/1.724, allocations: 40.41 kB / 0.8126 GB, free: 153.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001851/1.725, allocations: 0.5949 MB / 0.8132 GB, free: 153.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/1.728, allocations: 1.022 MB / 0.8142 GB, free: 153.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/1.728, allocations: 10.78 kB / 0.8142 GB, free: 153.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.728, allocations: 7.734 kB / 0.8142 GB, free: 153.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/1.728, allocations: 53.34 kB / 0.8142 GB, free: 153.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007666/1.736, allocations: 5.765 MB / 0.8199 GB, free: 149 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.737, allocations: 0.5221 MB / 0.8204 GB, free: 148.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/1.738, allocations: 307.2 kB / 0.8207 GB, free: 148.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/1.738, allocations: 7.781 kB / 0.8207 GB, free: 148.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/1.738, allocations: 38.62 kB / 0.8207 GB, free: 148.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 3.457e-06/1.738, allocations: 0 / 0.8207 GB, free: 148.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=48): time 0.003375/1.741, allocations: 1.167 MB / 0.8218 GB, free: 148.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/1.741, allocations: 58.97 kB / 0.8219 GB, free: 148.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/1.742, allocations: 400.5 kB / 0.8223 GB, free: 148 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/1.742, allocations: 27.42 kB / 0.8223 GB, free: 148 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/1.742, allocations: 408.3 kB / 0.8227 GB, free: 147.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/1.743, allocations: 167.8 kB / 0.8229 GB, free: 147.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/1.743, allocations: 0 / 0.8229 GB, free: 147.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.743, allocations: 369.1 kB / 0.8232 GB, free: 147.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/1.743, allocations: 252.2 kB / 0.8235 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/1.744, allocations: 440.8 kB / 0.8239 GB, free: 146.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/1.745, allocations: 320.1 kB / 0.8242 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.745, allocations: 0 / 0.8242 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002614/1.747, allocations: 0.9707 MB / 0.8251 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.747, allocations: 7.344 kB / 0.8251 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.747, allocations: 10.34 kB / 0.8251 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/1.749, allocations: 261.3 kB / 0.8254 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009152/1.75, allocations: 118.8 kB / 0.8255 GB, free: 146.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007127/1.757, allocations: 6.333 MB / 0.8317 GB, free: 140.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/1.758, allocations: 24.88 kB / 0.8317 GB, free: 140.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/1.758, allocations: 26.12 kB / 0.8317 GB, free: 140.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001943/1.758, allocations: 127.7 kB / 0.8319 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002092/1.76, allocations: 0.7786 MB / 0.8326 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/1.761, allocations: 67.14 kB / 0.8327 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/1.763, allocations: 0.8306 MB / 0.8335 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/1.763, allocations: 3.781 kB / 0.8335 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/1.763, allocations: 7.219 kB / 0.8335 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/1.763, allocations: 0 / 0.8335 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/1.767, allocations: 1.574 MB / 0.835 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.767, allocations: 2.062 kB / 0.835 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/1.767, allocations: 60.67 kB / 0.8351 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/1.768, allocations: 261.3 kB / 0.8354 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/1.769, allocations: 3.781 kB / 0.8354 GB, free: 139 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007102/1.776, allocations: 6.306 MB / 0.8415 GB, free: 133.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.776, allocations: 0 / 0.8415 GB, free: 133.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/1.778, allocations: 1.006 MB / 0.8425 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/1.778, allocations: 188 kB / 0.8427 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.779, allocations: 6.469 kB / 0.8427 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006299/1.779, allocations: 19.97 kB / 0.8427 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.779, allocations: 44.67 kB / 0.8427 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/1.78, allocations: 15.09 kB / 0.8428 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004365/1.78, allocations: 307.5 kB / 0.8431 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.1e-07/1.78, allocations: 0 / 0.8431 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001154/1.781, allocations: 209.8 kB / 0.8433 GB, free: 132.6 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002527/1.784, allocations: 1.96 MB / 0.8452 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002818/1.787, allocations: 1.184 MB / 0.8463 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.787, allocations: 0 / 0.8463 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/1.789, allocations: 0.8289 MB / 0.8471 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/1.79, allocations: 166.6 kB / 0.8473 GB, free: 128.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/1.794, allocations: 1.111 MB / 0.8484 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006542/1.795, allocations: 1.035 MB / 0.8494 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007663/1.796, allocations: 106.8 kB / 0.8495 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/1.796, allocations: 257.9 kB / 0.8497 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.623e-06/1.796, allocations: 0 / 0.8497 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07671/1.873, allocations: 14.59 MB / 0.864 GB, free: 112.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/1.873, allocations: 163.2 kB / 0.8641 GB, free: 112.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.065/4.938, allocations: 0 / 0.8641 GB, free: 112.2 MB / 0.6667 GB