Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.0009943/0.0009941, allocations: 182.4 kB / 371.6 MB, free: 3.352 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.379/1.379, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009344/0.0009343, allocations: 88.64 kB / 0.745 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.613e-05, allocations: 4 kB / 0.8662 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2994, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.917/1.216, allocations: 171.8 MB / 1.148 GB, free: 20.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/1.217, allocations: 95.41 kB / 1.148 GB, free: 20.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.4349/1.652, allocations: 181.6 MB / 1.325 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.934e-06/1.652, allocations: 0 / 1.325 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003549/1.652, allocations: 124 kB / 1.325 GB, free: 15.48 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01431/1.666, allocations: 4.151 MB / 1.329 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.667, allocations: 8.031 kB / 1.329 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007193/1.674, allocations: 1.012 MB / 1.33 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008625/1.682, allocations: 3.221 MB / 1.333 GB, free: 6.965 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/1.683, allocations: 361.6 kB / 1.334 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/1.684, allocations: 475.9 kB / 1.334 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/1.702, allocations: 7.418 MB / 1.341 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/1.702, allocations: 20 kB / 1.341 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006077/1.703, allocations: 216 kB / 1.342 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002926/1.703, allocations: 277 kB / 1.342 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/1.715, allocations: 5.307 MB / 1.347 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05197/1.767, allocations: 36.26 MB / 1.382 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6846/2.452, allocations: 2.101 MB / 1.384 GB, free: 185.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/2.454, allocations: 1.46 MB / 1.386 GB, free: 185.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/2.454, allocations: 17.61 kB / 1.386 GB, free: 185.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/2.454, allocations: 49.88 kB / 1.386 GB, free: 185.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=157): time 3.366e-06/2.454, allocations: 0 / 1.386 GB, free: 185.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=160): time 0.01113/2.465, allocations: 4.983 MB / 1.391 GB, free: 184.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/2.465, allocations: 67.16 kB / 1.391 GB, free: 184.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004635/2.47, allocations: 1.541 MB / 1.392 GB, free: 184.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005906/2.471, allocations: 56.52 kB / 1.392 GB, free: 184.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002515/2.473, allocations: 2.091 MB / 1.394 GB, free: 183.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/2.474, allocations: 0.5626 MB / 1.395 GB, free: 183.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/2.475, allocations: 44.25 kB / 1.395 GB, free: 183.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002071/2.475, allocations: 384.2 kB / 1.395 GB, free: 183 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/2.477, allocations: 0.9955 MB / 1.396 GB, free: 183 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/2.48, allocations: 1.711 MB / 1.398 GB, free: 182.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002647/2.482, allocations: 1.292 MB / 1.399 GB, free: 182.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/2.482, allocations: 7.75 kB / 1.399 GB, free: 182.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.007964/2.49, allocations: 3.765 MB / 1.403 GB, free: 181.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/2.49, allocations: 15.48 kB / 1.403 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/2.49, allocations: 26.75 kB / 1.403 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/2.493, allocations: 0.9096 MB / 1.404 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/2.495, allocations: 419.6 kB / 1.404 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/2.512, allocations: 20.99 MB / 1.425 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/2.515, allocations: 126.2 kB / 1.425 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/2.515, allocations: 93.73 kB / 1.425 GB, free: 166.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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%) 6,(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.000488/2.515, allocations: 244.7 kB / 1.425 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/2.516, allocations: 255.8 kB / 1.426 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005121/2.521, allocations: 3.226 MB / 1.429 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/2.521, allocations: 15.84 kB / 1.429 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/2.521, allocations: 17.2 kB / 1.429 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/2.521, allocations: 6.328 kB / 1.429 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/2.534, allocations: 7.478 MB / 1.436 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/2.534, allocations: 2.969 kB / 1.436 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/2.534, allocations: 216.6 kB / 1.436 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/2.536, allocations: 0.8773 MB / 1.437 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/2.537, allocations: 39.2 kB / 1.437 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/2.552, allocations: 20.96 MB / 1.458 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/2.552, allocations: 3.281 kB / 1.458 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005657/2.558, allocations: 3.677 MB / 1.461 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/2.559, allocations: 0.5268 MB / 1.462 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/2.56, allocations: 34.42 kB / 1.462 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/2.561, allocations: 91.27 kB / 1.462 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004349/2.561, allocations: 137.5 kB / 1.462 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/2.561, allocations: 56.28 kB / 1.462 GB, free: 149 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00166/2.563, allocations: 1.161 MB / 1.463 GB, free: 148.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/2.563, allocations: 0 / 1.463 GB, free: 148.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00396/2.567, allocations: 0.9346 MB / 1.464 GB, free: 148.8 MB / 0.948 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 (109): * Single equations (assignments): 97 * 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%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000343/2.567, allocations: 161 kB / 1.464 GB, free: 148.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005958/2.573, allocations: 4.285 MB / 1.468 GB, free: 147.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/2.573, allocations: 0 / 1.468 GB, free: 147.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003648/2.577, allocations: 2.95 MB / 1.471 GB, free: 145.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003774/2.581, allocations: 0.71 MB / 1.472 GB, free: 145.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/2.593, allocations: 5.98 MB / 1.478 GB, free: 144.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003401/2.597, allocations: 3.286 MB / 1.481 GB, free: 143.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002322/2.599, allocations: 0.5242 MB / 1.482 GB, free: 143.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/2.599, allocations: 140.7 kB / 1.482 GB, free: 143.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.643e-06/2.599, allocations: 0 / 1.482 GB, free: 143.6 MB / 0.948 GB Notification: Performance of Templates: time 0.07908/2.679, allocations: 38.84 MB / 1.52 GB, free: 142.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)