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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 293 MB / 309 MB, free: 4.828 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.0009093/0.0009095, allocations: 180.6 kB / 378.7 MB, free: 1.035 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.479/1.479, allocations: 205.4 MB / 0.6383 GB, free: 9.164 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.0007493/0.0007493, allocations: 93.33 kB / 0.7527 GB, free: 62.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2575, allocations: 116.4 MB / 0.9905 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7663/1.024, allocations: 172 MB / 1.158 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.024, allocations: 99.22 kB / 1.158 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.4518/1.476, allocations: 180.7 MB / 1.335 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.424e-06/1.476, allocations: 0 / 1.335 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006331/1.477, allocations: 119.9 kB / 1.335 GB, free: 2.645 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01797/1.495, allocations: 4.058 MB / 1.339 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/1.495, allocations: 8.031 kB / 1.339 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007757/1.503, allocations: 0.9512 MB / 1.34 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009877/1.513, allocations: 3.042 MB / 1.343 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/1.513, allocations: 345.7 kB / 1.343 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002837/1.516, allocations: 464.2 kB / 1.344 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/1.539, allocations: 7.358 MB / 1.351 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003631/1.54, allocations: 27.81 kB / 1.351 GB, free: 1.809 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002254/1.542, allocations: 219.9 kB / 1.351 GB, free: 1.594 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004549/1.542, allocations: 273 kB / 1.351 GB, free: 1.324 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/1.557, allocations: 5.184 MB / 1.356 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6747/2.232, allocations: 35.08 MB / 1.391 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/2.235, allocations: 2.142 MB / 1.393 GB, free: 144 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/2.236, allocations: 1.255 MB / 1.394 GB, free: 144 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-05/2.237, allocations: 19.06 kB / 1.394 GB, free: 144 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/2.237, allocations: 51.88 kB / 1.394 GB, free: 144 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=133): time 4.558e-06/2.237, allocations: 0 / 1.394 GB, free: 144 MB / 0.9323 GB Notification: Performance of matching and sorting (n=136): time 0.0165/2.253, allocations: 7.091 MB / 1.401 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/2.253, allocations: 65.59 kB / 1.401 GB, free: 142 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/2.256, allocations: 1.468 MB / 1.403 GB, free: 141.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/2.256, allocations: 46.7 kB / 1.403 GB, free: 141.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/2.258, allocations: 1.987 MB / 1.404 GB, free: 141 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005545/2.259, allocations: 492 kB / 1.405 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/2.259, allocations: 36.12 kB / 1.405 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001764/2.259, allocations: 388.2 kB / 1.405 GB, free: 140.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/2.261, allocations: 0.8952 MB / 1.406 GB, free: 140.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/2.263, allocations: 1.564 MB / 1.408 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/2.266, allocations: 2.698 MB / 1.41 GB, free: 138.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/2.266, allocations: 9 kB / 1.41 GB, free: 138.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006309/2.272, allocations: 3.479 MB / 1.414 GB, free: 138.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/2.273, allocations: 16.16 kB / 1.414 GB, free: 138.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/2.273, allocations: 22.5 kB / 1.414 GB, free: 138.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/2.275, allocations: 0.893 MB / 1.415 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/2.276, allocations: 347.4 kB / 1.415 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/2.293, allocations: 21.23 MB / 1.436 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/2.295, allocations: 99.92 kB / 1.436 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004238/2.295, allocations: 84.19 kB / 1.436 GB, free: 123.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 (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.004344/2.3, allocations: 1.605 MB / 1.438 GB, free: 123 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007887/2.3, allocations: 203.1 kB / 1.438 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005567/2.306, allocations: 2.974 MB / 1.441 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/2.306, allocations: 18.17 kB / 1.441 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.51e-05/2.306, allocations: 13.47 kB / 1.441 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/2.306, allocations: 6.656 kB / 1.441 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/2.323, allocations: 7.271 MB / 1.448 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/2.323, allocations: 7.703 kB / 1.448 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008127/2.323, allocations: 183.8 kB / 1.448 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/2.326, allocations: 0.8182 MB / 1.449 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/2.326, allocations: 30.5 kB / 1.449 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01553/2.341, allocations: 20.29 MB / 1.469 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/2.341, allocations: 12.41 kB / 1.469 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0056/2.347, allocations: 2.998 MB / 1.472 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/2.348, allocations: 458.5 kB / 1.472 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000681/2.349, allocations: 32.3 kB / 1.472 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/2.351, allocations: 76.23 kB / 1.472 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004301/2.351, allocations: 127.3 kB / 1.472 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-05/2.351, allocations: 35.62 kB / 1.472 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001355/2.352, allocations: 0.9604 MB / 1.473 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/2.352, allocations: 2.969 kB / 1.473 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004182/2.357, allocations: 0.8234 MB / 1.474 GB, free: 105.5 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.0003372/2.357, allocations: 154 kB / 1.474 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005664/2.363, allocations: 3.986 MB / 1.478 GB, free: 104 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/2.363, allocations: 0 / 1.478 GB, free: 104 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003425/2.366, allocations: 2.736 MB / 1.481 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004383/2.37, allocations: 0.6489 MB / 1.481 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/2.384, allocations: 8.718 MB / 1.49 GB, free: 98.63 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/2.388, allocations: 3.104 MB / 1.493 GB, free: 97.82 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001827/2.389, allocations: 458.2 kB / 1.493 GB, free: 97.78 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/2.39, allocations: 118.3 kB / 1.493 GB, free: 97.77 MB / 0.9323 GB Notification: Performance of SimCode: time 1.262e-06/2.39, allocations: 0 / 1.493 GB, free: 97.77 MB / 0.9323 GB Notification: Performance of Templates: time 0.08343/2.473, allocations: 33.78 MB / 1.526 GB, free: 96.32 MB / 0.9323 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)