Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.704/1.704, allocations: 288.4 MB / 304.3 MB, free: 8.078 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.0009026/0.0009026, allocations: 180.5 kB / 372.9 MB, free: 10.15 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.509/1.509, allocations: 205.4 MB / 0.6317 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008381/0.0008379, allocations: 91.59 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004602, allocations: 16.88 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2455, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.829/1.075, allocations: 170.9 MB / 1.148 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/1.075, allocations: 99.88 kB / 1.148 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4326/1.508, allocations: 182.5 MB / 1.326 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.136e-06/1.508, allocations: 0 / 1.326 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003967/1.508, allocations: 120 kB / 1.326 GB, free: 14.77 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01525/1.523, allocations: 4.445 MB / 1.33 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.523, allocations: 12.03 kB / 1.33 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00708/1.531, allocations: 1.013 MB / 1.331 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008219/1.539, allocations: 3.291 MB / 1.335 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/1.539, allocations: 370.1 kB / 1.335 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/1.541, allocations: 472.3 kB / 1.335 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/1.555, allocations: 7.543 MB / 1.343 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/1.555, allocations: 23.97 kB / 1.343 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006038/1.556, allocations: 215.9 kB / 1.343 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003494/1.556, allocations: 265.2 kB / 1.343 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/1.567, allocations: 5.407 MB / 1.349 GB, free: 7.121 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04836/1.615, allocations: 36.28 MB / 1.384 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/1.619, allocations: 2.136 MB / 1.386 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/1.621, allocations: 1.473 MB / 1.388 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/1.621, allocations: 17.31 kB / 1.388 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/1.621, allocations: 51.88 kB / 1.388 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=157): time 5.861e-06/1.621, allocations: 0 / 1.388 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=160): time 0.0148/1.636, allocations: 7.564 MB / 1.395 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/1.636, allocations: 72.7 kB / 1.395 GB, free: 3.984 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003534/1.639, allocations: 1.806 MB / 1.397 GB, free: 2.152 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001419/1.64, allocations: 57.7 kB / 1.397 GB, free: 2.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001733/1.641, allocations: 2.098 MB / 1.399 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005692/1.642, allocations: 0.5468 MB / 1.399 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/1.642, allocations: 48 kB / 1.4 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002112/1.642, allocations: 386.1 kB / 1.4 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/1.644, allocations: 1.011 MB / 1.401 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/1.646, allocations: 1.736 MB / 1.403 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/1.65, allocations: 3.011 MB / 1.405 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.181e-05/1.65, allocations: 8 kB / 1.406 GB, free: 8.535 MB / 0.9323 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.006579/1.656, allocations: 3.811 MB / 1.409 GB, free: 4.676 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/1.656, allocations: 20.03 kB / 1.409 GB, free: 4.656 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/1.657, allocations: 24 kB / 1.409 GB, free: 4.633 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/1.659, allocations: 0.9116 MB / 1.41 GB, free: 3.684 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/1.66, allocations: 419.2 kB / 1.411 GB, free: 3.273 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5731/2.234, allocations: 21.03 MB / 1.431 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/2.236, allocations: 122 kB / 1.431 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003196/2.237, allocations: 96.19 kB / 1.431 GB, free: 233.9 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 () * Number of clocked 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.004012/2.241, allocations: 1.645 MB / 1.433 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006893/2.241, allocations: 256.2 kB / 1.433 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006254/2.248, allocations: 3.255 MB / 1.436 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/2.248, allocations: 12.88 kB / 1.436 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.587e-05/2.248, allocations: 15.77 kB / 1.436 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/2.248, allocations: 7.5 kB / 1.436 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/2.263, allocations: 7.504 MB / 1.444 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/2.263, allocations: 4.25 kB / 1.444 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/2.264, allocations: 223 kB / 1.444 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/2.267, allocations: 0.8791 MB / 1.445 GB, free: 232.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/2.267, allocations: 31.25 kB / 1.445 GB, free: 232.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01884/2.286, allocations: 21 MB / 1.465 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/2.286, allocations: 7.375 kB / 1.465 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006634/2.292, allocations: 3.365 MB / 1.469 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/2.294, allocations: 0.532 MB / 1.469 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/2.294, allocations: 31.83 kB / 1.469 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/2.295, allocations: 98.36 kB / 1.469 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005971/2.296, allocations: 142.3 kB / 1.469 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/2.296, allocations: 45.75 kB / 1.469 GB, free: 217.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001983/2.298, allocations: 1.184 MB / 1.471 GB, free: 217.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/2.298, allocations: 2.344 kB / 1.471 GB, free: 217.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003825/2.302, allocations: 0.932 MB / 1.471 GB, free: 217.2 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 () * Number of clocked 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.0003323/2.302, allocations: 162.1 kB / 1.472 GB, free: 217.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006773/2.309, allocations: 4.339 MB / 1.476 GB, free: 215.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/2.309, allocations: 3.406 kB / 1.476 GB, free: 215.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004413/2.314, allocations: 2.988 MB / 1.479 GB, free: 214.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005439/2.319, allocations: 0.734 MB / 1.48 GB, free: 214.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/2.338, allocations: 9.198 MB / 1.489 GB, free: 210.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/2.342, allocations: 3.206 MB / 1.492 GB, free: 209.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002522/2.345, allocations: 0.52 MB / 1.492 GB, free: 209.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/2.345, allocations: 141 kB / 1.492 GB, free: 209.4 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/2.345, allocations: 0 / 1.492 GB, free: 209.4 MB / 0.948 GB Notification: Performance of Templates: time 0.0666/2.412, allocations: 39.36 MB / 1.531 GB, free: 208.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)