Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.257/2.257, allocations: 248.5 MB / 261.1 MB, free: 6.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001778/0.001777, allocations: 183.4 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.2 MB / 0.571 GB, free: 11.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 90.48 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.654e-05/4.674e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2034, allocations: 106.3 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9004/1.104, allocations: 164.4 MB / 1.051 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/1.104, allocations: 94.31 kB / 1.051 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.765/1.869, allocations: 179.7 MB / 1.227 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.541e-06/1.869, allocations: 0 / 1.227 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004551/1.87, allocations: 127.9 kB / 1.227 GB, free: 6.152 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01713/1.887, allocations: 3.822 MB / 1.231 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/1.887, allocations: 12.03 kB / 1.231 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003323/1.89, allocations: 0.6818 MB / 1.231 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009772/1.9, allocations: 0.9387 MB / 1.232 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0168/1.917, allocations: 2.983 MB / 1.235 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005434/1.918, allocations: 345.3 kB / 1.235 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00248/1.92, allocations: 479.8 kB / 1.236 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/1.948, allocations: 7.221 MB / 1.243 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00046/1.948, allocations: 27.72 kB / 1.243 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002686/1.951, allocations: 211.9 kB / 1.243 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008045/1.952, allocations: 277 kB / 1.243 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02579/1.978, allocations: 5.087 MB / 1.248 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6938/2.672, allocations: 35.07 MB / 1.283 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004991/2.677, allocations: 2.124 MB / 1.285 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/2.68, allocations: 1.244 MB / 1.286 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/2.68, allocations: 13.66 kB / 1.286 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/2.68, allocations: 47.8 kB / 1.286 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=133): time 4.118e-06/2.68, allocations: 0 / 1.286 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.01469/2.695, allocations: 4.551 MB / 1.29 GB, free: 189 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/2.695, allocations: 69.56 kB / 1.291 GB, free: 189 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/2.698, allocations: 1.255 MB / 1.292 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003459/2.698, allocations: 44.7 kB / 1.292 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/2.7, allocations: 1.99 MB / 1.294 GB, free: 188 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008311/2.701, allocations: 485 kB / 1.294 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/2.701, allocations: 36.44 kB / 1.294 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001676/2.702, allocations: 381.2 kB / 1.295 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/2.704, allocations: 0.8843 MB / 1.295 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003052/2.707, allocations: 1.533 MB / 1.297 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003209/2.71, allocations: 1.159 MB / 1.298 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.35e-05/2.71, allocations: 5.312 kB / 1.298 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01156/2.722, allocations: 3.452 MB / 1.301 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/2.722, allocations: 14.8 kB / 1.301 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.71e-05/2.722, allocations: 25.75 kB / 1.301 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004764/2.727, allocations: 0.9028 MB / 1.302 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/2.73, allocations: 344.4 kB / 1.303 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02805/2.758, allocations: 21.18 MB / 1.323 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/2.76, allocations: 101.1 kB / 1.323 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004659/2.761, allocations: 83.77 kB / 1.324 GB, free: 170.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005456/2.762, allocations: 226.1 kB / 1.324 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007431/2.762, allocations: 207.1 kB / 1.324 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009426/2.772, allocations: 2.949 MB / 1.327 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.164e-05/2.772, allocations: 17.5 kB / 1.327 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.356e-05/2.772, allocations: 8.969 kB / 1.327 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.285e-05/2.772, allocations: 11.38 kB / 1.327 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02278/2.795, allocations: 7.241 MB / 1.334 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/2.795, allocations: 6.219 kB / 1.334 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/2.796, allocations: 181.4 kB / 1.334 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00418/2.801, allocations: 0.8197 MB / 1.335 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003287/2.801, allocations: 31.73 kB / 1.335 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02307/2.824, allocations: 20.26 MB / 1.355 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/2.824, allocations: 7.656 kB / 1.355 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008/2.832, allocations: 3.268 MB / 1.358 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/2.834, allocations: 458.1 kB / 1.358 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005869/2.835, allocations: 27.47 kB / 1.358 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/2.836, allocations: 75.8 kB / 1.358 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00054/2.837, allocations: 127.3 kB / 1.359 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/2.837, allocations: 35.44 kB / 1.359 GB, free: 153 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001979/2.839, allocations: 0.9442 MB / 1.36 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.52e-07/2.839, allocations: 0 / 1.36 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004797/2.844, allocations: 0.8244 MB / 1.36 GB, free: 152.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008585/2.852, allocations: 5.029 MB / 1.365 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008403/2.861, allocations: 3.927 MB / 1.369 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/2.861, allocations: 3.344 kB / 1.369 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005462/2.866, allocations: 2.692 MB / 1.372 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005146/2.872, allocations: 0.6374 MB / 1.372 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/2.891, allocations: 6.777 MB / 1.379 GB, free: 145 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005784/2.897, allocations: 3.192 MB / 1.382 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00246/2.9, allocations: 457.8 kB / 1.383 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002953/2.903, allocations: 1.548 MB / 1.384 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.593e-06/2.903, allocations: 0 / 1.384 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1349/3.038, allocations: 59.95 MB / 1.443 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/3.038, allocations: 208.3 kB / 1.443 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.144/7.182, allocations: 0 / 1.443 GB, free: 138.6 MB / 0.8698 GB