Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.629/1.629, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009291/0.0009292, allocations: 180.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000762/0.0007619, allocations: 98.31 kB / 0.7808 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 12.53 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5692/0.5696, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/0.7971, allocations: 210.6 MB / 1.232 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.7974, allocations: 102.6 kB / 1.232 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.2086/1.006, allocations: 91.17 MB / 1.321 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.294e-06/1.006, allocations: 4 kB / 1.321 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001252/1.006, allocations: 39.98 kB / 1.321 GB, free: 3.441 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003674/1.01, allocations: 1.793 MB / 1.323 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.01, allocations: 8.031 kB / 1.323 GB, free: 1.586 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009837/1.02, allocations: 1.88 MB / 1.325 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/1.023, allocations: 1.279 MB / 1.326 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/1.023, allocations: 90.36 kB / 1.326 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/1.023, allocations: 123.8 kB / 1.326 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005532/1.029, allocations: 2.748 MB / 1.329 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/1.029, allocations: 7.938 kB / 1.329 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/1.029, allocations: 55.98 kB / 1.329 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/1.029, allocations: 86.28 kB / 1.329 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006959/1.036, allocations: 2.846 MB / 1.332 GB, free: 8.219 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/1.051, allocations: 10.72 MB / 1.342 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005921/1.057, allocations: 2.574 MB / 1.345 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002839/1.059, allocations: 1.308 MB / 1.346 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.067e-05/1.06, allocations: 20.98 kB / 1.346 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/1.06, allocations: 51.44 kB / 1.346 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=89): time 2.846e-06/1.06, allocations: 0 / 1.346 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131): time 0.04231/1.102, allocations: 14 MB / 1.36 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.102, allocations: 222.9 kB / 1.36 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/1.104, allocations: 1.121 MB / 1.361 GB, free: 9.273 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001728/1.104, allocations: 45.7 kB / 1.361 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/1.104, allocations: 0.708 MB / 1.362 GB, free: 8.508 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000396/1.105, allocations: 449.5 kB / 1.362 GB, free: 8.062 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-05/1.105, allocations: 24 kB / 1.362 GB, free: 8.039 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.105, allocations: 361.9 kB / 1.363 GB, free: 7.68 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002919/1.108, allocations: 1.369 MB / 1.364 GB, free: 6.312 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003072/1.111, allocations: 1.638 MB / 1.366 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006111/1.117, allocations: 3.015 MB / 1.369 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.117, allocations: 4 kB / 1.369 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.4663/1.583, allocations: 4.554 MB / 1.373 GB, free: 194 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/1.584, allocations: 10.34 kB / 1.373 GB, free: 194 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.584, allocations: 3.031 kB / 1.373 GB, free: 194 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005847/1.589, allocations: 1.619 MB / 1.375 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/1.591, allocations: 440.6 kB / 1.375 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/1.612, allocations: 24.82 MB / 1.399 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.615, allocations: 321 kB / 1.4 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/1.615, allocations: 63.45 kB / 1.4 GB, free: 177.5 MB / 0.9323 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008622/1.616, allocations: 440.6 kB / 1.4 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/1.616, allocations: 162.9 kB / 1.4 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.626, allocations: 4.597 MB / 1.405 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/1.627, allocations: 12.38 kB / 1.405 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-05/1.627, allocations: 14.28 kB / 1.405 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/1.627, allocations: 11.03 kB / 1.405 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/1.641, allocations: 7.018 MB / 1.412 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.641, allocations: 3.719 kB / 1.412 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/1.643, allocations: 390.7 kB / 1.412 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00536/1.648, allocations: 1.512 MB / 1.413 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/1.648, allocations: 35.64 kB / 1.413 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/1.669, allocations: 23.88 MB / 1.437 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.669, allocations: 3.719 kB / 1.437 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/1.679, allocations: 4.37 MB / 1.441 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009393/1.68, allocations: 476.5 kB / 1.441 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/1.68, allocations: 29.69 kB / 1.442 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.682, allocations: 316.4 kB / 1.442 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004632/1.683, allocations: 128.2 kB / 1.442 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.683, allocations: 52.2 kB / 1.442 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001078/1.684, allocations: 0.7491 MB / 1.443 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.7e-07/1.684, allocations: 0.5625 kB / 1.443 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00221/1.686, allocations: 0.6032 MB / 1.443 GB, free: 159.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003187/1.686, allocations: 164.7 kB / 1.443 GB, free: 159 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009126/1.695, allocations: 5.182 MB / 1.449 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.695, allocations: 0.6562 kB / 1.449 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006027/1.702, allocations: 3.555 MB / 1.452 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/1.704, allocations: 0.5082 MB / 1.453 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007327/1.712, allocations: 4.513 MB / 1.457 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009823/1.713, allocations: 1.478 MB / 1.458 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001891/1.715, allocations: 424.4 kB / 1.459 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/1.715, allocations: 114.5 kB / 1.459 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of SimCode: time 5.81e-07/1.715, allocations: 0 / 1.459 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.06266/1.778, allocations: 38.03 MB / 1.496 GB, free: 151.9 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)