Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.594/1.594, allocations: 297.8 MB / 313.7 MB, free: 172 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.000841/0.000841, allocations: 179.4 kB / 384.6 MB, free: 10.89 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.323/1.323, allocations: 223.2 MB / 0.6626 GB, free: 4.277 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.0007433/0.0007433, allocations: 98.52 kB / 0.7808 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004655, allocations: 19.94 kB / 0.9088 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6553/0.6558, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.8608, allocations: 174.4 MB / 1.197 GB, free: 3.414 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.8611, allocations: 99.22 kB / 1.197 GB, free: 3.32 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.8406/1.702, allocations: 192.1 MB / 1.384 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.104e-06/1.702, allocations: 0 / 1.384 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004088/1.702, allocations: 119.5 kB / 1.384 GB, free: 145.1 MB / 0.9323 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.01314/1.715, allocations: 4.059 MB / 1.388 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.715, allocations: 8.656 kB / 1.388 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006759/1.722, allocations: 0.948 MB / 1.389 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007209/1.729, allocations: 3.05 MB / 1.392 GB, free: 142.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/1.73, allocations: 347.9 kB / 1.393 GB, free: 142.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/1.731, allocations: 465.8 kB / 1.393 GB, free: 142.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/1.745, allocations: 7.346 MB / 1.4 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/1.746, allocations: 39.16 kB / 1.4 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005067/1.746, allocations: 212.1 kB / 1.401 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002928/1.746, allocations: 272.7 kB / 1.401 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009812/1.756, allocations: 5.18 MB / 1.406 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03493/1.791, allocations: 35.1 MB / 1.44 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/1.794, allocations: 2.139 MB / 1.442 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/1.795, allocations: 1.261 MB / 1.443 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-05/1.795, allocations: 14.34 kB / 1.443 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/1.795, allocations: 50.12 kB / 1.443 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=133): time 4.498e-06/1.795, allocations: 0 / 1.443 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=136): time 0.01223/1.807, allocations: 7.094 MB / 1.45 GB, free: 114.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/1.808, allocations: 69.78 kB / 1.45 GB, free: 114.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/1.809, allocations: 1.465 MB / 1.452 GB, free: 114.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.416e-05/1.809, allocations: 51.41 kB / 1.452 GB, free: 114.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008609/1.81, allocations: 1.985 MB / 1.454 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/1.811, allocations: 493.6 kB / 1.454 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.807e-05/1.811, allocations: 33.84 kB / 1.454 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.811, allocations: 379.5 kB / 1.455 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/1.812, allocations: 0.8978 MB / 1.456 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/1.813, allocations: 1.563 MB / 1.457 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/1.816, allocations: 2.692 MB / 1.46 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.816, allocations: 5.719 kB / 1.46 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005033/1.821, allocations: 3.489 MB / 1.463 GB, free: 111 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/1.821, allocations: 11.69 kB / 1.463 GB, free: 111 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/1.821, allocations: 21.69 kB / 1.463 GB, free: 111 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/1.823, allocations: 0.8997 MB / 1.464 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.824, allocations: 356.2 kB / 1.464 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/1.839, allocations: 21.21 MB / 1.485 GB, free: 95.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.841, allocations: 100.8 kB / 1.485 GB, free: 95.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/1.841, allocations: 88.97 kB / 1.485 GB, free: 95.46 MB / 0.9323 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 () * Number of clocked 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.003018/1.844, allocations: 1.607 MB / 1.487 GB, free: 95.33 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/1.844, allocations: 206.8 kB / 1.487 GB, free: 95.22 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004435/1.849, allocations: 2.97 MB / 1.49 GB, free: 95 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/1.849, allocations: 16.98 kB / 1.49 GB, free: 95 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/1.849, allocations: 14.53 kB / 1.49 GB, free: 95 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.849, allocations: 6.75 kB / 1.49 GB, free: 95 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/1.861, allocations: 7.273 MB / 1.497 GB, free: 92.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.861, allocations: 3.781 kB / 1.497 GB, free: 92.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/1.862, allocations: 186 kB / 1.497 GB, free: 92.28 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/1.864, allocations: 0.8185 MB / 1.498 GB, free: 91.99 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/1.864, allocations: 28.16 kB / 1.498 GB, free: 91.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/1.88, allocations: 20.3 MB / 1.518 GB, free: 74.26 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.88, allocations: 6.141 kB / 1.518 GB, free: 74.26 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005722/1.885, allocations: 3.007 MB / 1.521 GB, free: 72.82 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.887, allocations: 455.1 kB / 1.521 GB, free: 72.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007624/1.888, allocations: 30.72 kB / 1.521 GB, free: 72.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.889, allocations: 70.55 kB / 1.521 GB, free: 72.49 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004933/1.89, allocations: 126.5 kB / 1.522 GB, free: 72.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.89, allocations: 36.84 kB / 1.522 GB, free: 72.45 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00269/1.893, allocations: 0.9593 MB / 1.523 GB, free: 72.05 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.743e-06/1.893, allocations: 1.094 kB / 1.523 GB, free: 72.05 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004835/1.897, allocations: 0.8264 MB / 1.523 GB, free: 71.98 MB / 0.9323 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 () * Number of clocked 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.0003348/1.898, allocations: 147 kB / 1.524 GB, free: 71.86 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005769/1.903, allocations: 3.985 MB / 1.527 GB, free: 69.51 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.904, allocations: 1.469 kB / 1.527 GB, free: 69.51 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003377/1.907, allocations: 2.738 MB / 1.53 GB, free: 67.62 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00495/1.912, allocations: 0.6573 MB / 1.531 GB, free: 67.45 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.929, allocations: 8.714 MB / 1.539 GB, free: 62.57 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005234/1.934, allocations: 3.11 MB / 1.542 GB, free: 61.32 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002056/1.936, allocations: 462.1 kB / 1.543 GB, free: 61.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/1.937, allocations: 113.4 kB / 1.543 GB, free: 61.26 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/1.937, allocations: 0 / 1.543 GB, free: 61.26 MB / 0.9323 GB Notification: Performance of Templates: time 0.06036/1.997, allocations: 33.77 MB / 1.576 GB, free: 59.83 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)