Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.6 MB / 307.5 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 179.7 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 0.6367 GB, free: 8.625 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 91.34 kB / 0.751 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004299, allocations: 16 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3103, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8959/1.206, allocations: 172.1 MB / 1.156 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/1.207, allocations: 96.55 kB / 1.157 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.5249/1.732, allocations: 200.1 MB / 1.352 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.697e-06/1.732, allocations: 0 / 1.352 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0006759/1.732, allocations: 131.9 kB / 1.352 GB, free: 15.78 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02219/1.755, allocations: 4.749 MB / 1.357 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/1.755, allocations: 12.03 kB / 1.357 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/1.765, allocations: 1.049 MB / 1.358 GB, free: 9.891 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/1.779, allocations: 3.406 MB / 1.361 GB, free: 6.426 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007142/1.78, allocations: 418.5 kB / 1.361 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003955/1.784, allocations: 0.5389 MB / 1.362 GB, free: 5.48 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7686/2.552, allocations: 8.579 MB / 1.37 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002379/2.553, allocations: 36.17 kB / 1.37 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008639/2.554, allocations: 239.9 kB / 1.371 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004095/2.554, allocations: 320.5 kB / 1.371 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/2.568, allocations: 6.146 MB / 1.377 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06164/2.63, allocations: 40.1 MB / 1.416 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/2.634, allocations: 3.088 MB / 1.419 GB, free: 127 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/2.634, allocations: 21.03 kB / 1.419 GB, free: 127 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/2.634, allocations: 50.44 kB / 1.419 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=179): time 4.118e-06/2.634, allocations: 3.188 kB / 1.419 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.02337/2.657, allocations: 9.863 MB / 1.429 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/2.658, allocations: 76.08 kB / 1.429 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/2.66, allocations: 1.306 MB / 1.43 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/2.66, allocations: 55.05 kB / 1.43 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/2.661, allocations: 2.234 MB / 1.432 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006745/2.662, allocations: 0.6299 MB / 1.433 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/2.662, allocations: 45.12 kB / 1.433 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001812/2.662, allocations: 396.9 kB / 1.433 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/2.664, allocations: 1.166 MB / 1.435 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/2.666, allocations: 1.846 MB / 1.436 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/2.668, allocations: 1.505 MB / 1.438 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/2.668, allocations: 10.44 kB / 1.438 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008445/2.677, allocations: 4.541 MB / 1.442 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/2.677, allocations: 15.97 kB / 1.442 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/2.677, allocations: 24.19 kB / 1.442 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003835/2.681, allocations: 1.578 MB / 1.444 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/2.682, allocations: 355.6 kB / 1.444 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/2.702, allocations: 17.7 MB / 1.461 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/2.705, allocations: 119.5 kB / 1.462 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/2.705, allocations: 93.28 kB / 1.462 GB, free: 117.1 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 (174): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004348/2.709, allocations: 1.898 MB / 1.464 GB, free: 117 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005975/2.71, allocations: 220.5 kB / 1.464 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006646/2.717, allocations: 4.077 MB / 1.468 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/2.717, allocations: 17.81 kB / 1.468 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-05/2.717, allocations: 22.91 kB / 1.468 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/2.717, allocations: 10.45 kB / 1.468 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/2.732, allocations: 9.408 MB / 1.477 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/2.732, allocations: 3.031 kB / 1.477 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008068/2.733, allocations: 187.8 kB / 1.477 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003243/2.736, allocations: 1.348 MB / 1.478 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/2.737, allocations: 38.38 kB / 1.479 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/2.755, allocations: 16.53 MB / 1.495 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/2.755, allocations: 13.62 kB / 1.495 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007722/2.763, allocations: 4.339 MB / 1.499 GB, free: 101 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/2.765, allocations: 0.5334 MB / 1.499 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/2.765, allocations: 38.55 kB / 1.499 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008963/2.766, allocations: 88.69 kB / 1.5 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006723/2.767, allocations: 155.6 kB / 1.5 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/2.767, allocations: 53 kB / 1.5 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001769/2.769, allocations: 0.9876 MB / 1.501 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.769, allocations: 0 / 1.501 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005464/2.774, allocations: 1.034 MB / 1.502 GB, free: 100.1 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 (85): * Single equations (assignments): 81 * 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 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000355/2.774, allocations: 149.3 kB / 1.502 GB, free: 99.94 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007497/2.782, allocations: 4.267 MB / 1.506 GB, free: 98.11 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/2.782, allocations: 0 / 1.506 GB, free: 98.11 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004196/2.786, allocations: 2.663 MB / 1.509 GB, free: 96.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/2.79, allocations: 0.6833 MB / 1.509 GB, free: 96.63 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/2.812, allocations: 10.52 MB / 1.52 GB, free: 90.94 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007255/2.82, allocations: 3.664 MB / 1.523 GB, free: 89.58 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002541/2.822, allocations: 465.8 kB / 1.524 GB, free: 89.53 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/2.823, allocations: 118.8 kB / 1.524 GB, free: 89.52 MB / 0.9323 GB Notification: Performance of SimCode: time 1.874e-06/2.823, allocations: 0 / 1.524 GB, free: 89.52 MB / 0.9323 GB Notification: Performance of Templates: time 0.08755/2.91, allocations: 41.15 MB / 1.564 GB, free: 87.69 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)