Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.553/1.553, allocations: 289.9 MB / 297.4 MB, free: 6.438 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.001012/0.001012, allocations: 176.8 kB / 366.7 MB, free: 1.695 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.618/1.618, allocations: 205.3 MB / 0.626 GB, free: 7.148 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.0008751/0.0008749, allocations: 96.67 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.288e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6972, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/0.9201, allocations: 171.1 MB / 1.14 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/0.9204, allocations: 94.27 kB / 1.14 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.9938/1.914, allocations: 178.9 MB / 1.315 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.274e-06/1.914, allocations: 2.781 kB / 1.315 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.00057/1.915, allocations: 120.3 kB / 1.315 GB, free: 186.6 MB / 0.8542 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.01399/1.929, allocations: 3.823 MB / 1.319 GB, free: 185 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.929, allocations: 7.906 kB / 1.319 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007263/1.936, allocations: 0.9438 MB / 1.32 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007923/1.944, allocations: 2.986 MB / 1.323 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/1.944, allocations: 146.3 kB / 1.323 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002107/1.947, allocations: 279.1 kB / 1.323 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0106/1.957, allocations: 4.529 MB / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/1.975, allocations: 6.552 MB / 1.334 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002824/1.975, allocations: 26.72 kB / 1.334 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/1.977, allocations: 20.97 kB / 1.334 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003062/1.978, allocations: 274.7 kB / 1.334 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03324/2.011, allocations: 34.08 MB / 1.368 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/2.013, allocations: 2.087 MB / 1.37 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/2.014, allocations: 1.212 MB / 1.371 GB, free: 150 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.461e-05/2.015, allocations: 11.59 kB / 1.371 GB, free: 150 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/2.015, allocations: 51.69 kB / 1.371 GB, free: 150 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 4.449e-06/2.015, allocations: 0 / 1.371 GB, free: 150 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.007977/2.023, allocations: 4.371 MB / 1.375 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/2.023, allocations: 70.97 kB / 1.375 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/2.024, allocations: 1.066 MB / 1.376 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.401e-05/2.025, allocations: 25.7 kB / 1.376 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009869/2.026, allocations: 1.987 MB / 1.378 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/2.026, allocations: 471.3 kB / 1.379 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/2.026, allocations: 0 / 1.379 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001225/2.026, allocations: 379.2 kB / 1.379 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/2.027, allocations: 0.8477 MB / 1.38 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/2.029, allocations: 1.491 MB / 1.381 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/2.03, allocations: 1.118 MB / 1.383 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/2.03, allocations: 3.625 kB / 1.383 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005024/2.035, allocations: 3.211 MB / 1.386 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/2.035, allocations: 18.31 kB / 1.386 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/2.035, allocations: 22.59 kB / 1.386 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/2.037, allocations: 0.8725 MB / 1.387 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/2.038, allocations: 352.8 kB / 1.387 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/2.052, allocations: 20.36 MB / 1.407 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/2.054, allocations: 61.69 kB / 1.407 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/2.054, allocations: 90.55 kB / 1.407 GB, free: 124.3 MB / 0.8542 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.0003909/2.055, allocations: 163 kB / 1.407 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004353/2.055, allocations: 192.9 kB / 1.407 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004521/2.059, allocations: 2.807 MB / 1.41 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/2.06, allocations: 14.62 kB / 1.41 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.893e-05/2.06, allocations: 18.81 kB / 1.41 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/2.06, allocations: 7.641 kB / 1.41 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/2.071, allocations: 6.377 MB / 1.416 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/2.071, allocations: 4 kB / 1.416 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/2.072, allocations: 190.1 kB / 1.416 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/2.074, allocations: 0.7997 MB / 1.417 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.264e-05/2.074, allocations: 7.984 kB / 1.417 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/2.087, allocations: 19.45 MB / 1.436 GB, free: 98.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/2.087, allocations: 7.938 kB / 1.436 GB, free: 98.14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/2.092, allocations: 3.148 MB / 1.439 GB, free: 94.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/2.093, allocations: 438.6 kB / 1.44 GB, free: 94.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005551/2.094, allocations: 15.92 kB / 1.44 GB, free: 94.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/2.095, allocations: 43.92 kB / 1.44 GB, free: 94.26 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003303/2.095, allocations: 129 kB / 1.44 GB, free: 94.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.608e-05/2.095, allocations: 36 kB / 1.44 GB, free: 94.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001254/2.097, allocations: 0.7771 MB / 1.441 GB, free: 93.33 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.6e-07/2.097, allocations: 4 kB / 1.441 GB, free: 93.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003856/2.1, allocations: 0.7538 MB / 1.441 GB, free: 92.57 MB / 0.8542 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.0002718/2.101, allocations: 128.1 kB / 1.442 GB, free: 92.44 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004476/2.105, allocations: 3.736 MB / 1.445 GB, free: 88.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/2.105, allocations: 4.062 kB / 1.445 GB, free: 88.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002765/2.108, allocations: 2.574 MB / 1.448 GB, free: 85.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/2.111, allocations: 0.5912 MB / 1.448 GB, free: 85.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/2.122, allocations: 5.551 MB / 1.454 GB, free: 79.69 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003981/2.126, allocations: 3.181 MB / 1.457 GB, free: 76.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001628/2.128, allocations: 450.3 kB / 1.457 GB, free: 76.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/2.128, allocations: 111.4 kB / 1.457 GB, free: 75.96 MB / 0.8542 GB Notification: Performance of SimCode: time 9.21e-07/2.128, allocations: 0 / 1.457 GB, free: 75.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.05039/2.179, allocations: 30.95 MB / 1.488 GB, free: 45.51 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)