Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 199.2 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 66.12 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3805, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03974/0.4203, allocations: 37.26 MB / 1.104 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02623/0.4466, allocations: 13.02 MB / 1.117 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005527/0.4521, allocations: 155.1 kB / 1.117 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01063/0.4628, allocations: 3.606 MB / 1.12 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008019/0.4709, allocations: 2.353 MB / 1.123 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007596/0.4785, allocations: 2.473 MB / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01563/0.4942, allocations: 13.36 MB / 1.138 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02058/0.5148, allocations: 11.7 MB / 1.149 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007356/0.5222, allocations: 3.401 MB / 1.153 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008196/0.5304, allocations: 4.455 MB / 1.157 GB, free: 14.78 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002752/0.5332, allocations: 0.4922 MB / 1.158 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006155/0.5394, allocations: 1.814 MB / 1.159 GB, free: 12.47 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.005342/0.5447, allocations: 2.755 MB / 1.162 GB, free: 9.707 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.009133/0.5539, allocations: 3.266 MB / 1.165 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.5693, allocations: 11.65 MB / 1.177 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.5693, allocations: 4 kB / 1.177 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.198e-06/0.5693, allocations: 0 / 1.177 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003992/0.5697, allocations: 3.938 kB / 1.177 GB, free: 10.73 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01857/0.5883, allocations: 6.35 MB / 1.183 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5884, allocations: 12.03 kB / 1.183 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008893/0.5973, allocations: 1.297 MB / 1.184 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008056/0.6054, allocations: 3.576 MB / 1.188 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/0.6058, allocations: 382.5 kB / 1.188 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/0.608, allocations: 0.4962 MB / 1.188 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/0.6276, allocations: 8.89 MB / 1.197 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/0.6278, allocations: 23.77 kB / 1.197 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008523/0.6287, allocations: 223.9 kB / 1.197 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002164/0.6308, allocations: 0.6343 MB / 1.198 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.6448, allocations: 7.01 MB / 1.205 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05373/0.6986, allocations: 40.33 MB / 1.244 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.634/1.333, allocations: 2.887 MB / 1.247 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004677/1.337, allocations: 2.662 MB / 1.25 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/1.338, allocations: 27.88 kB / 1.25 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.783e-05/1.338, allocations: 70.16 kB / 1.25 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 7.123e-06/1.338, allocations: 1.516 kB / 1.25 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.2946/1.632, allocations: 74.66 MB / 1.323 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/1.632, allocations: 94.73 kB / 1.323 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003874/1.636, allocations: 2.359 MB / 1.325 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001088/1.637, allocations: 97.7 kB / 1.325 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001197/1.639, allocations: 2.333 MB / 1.327 GB, free: 119.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0019/1.641, allocations: 1.438 MB / 1.329 GB, free: 118 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/1.643, allocations: 0.7215 MB / 1.33 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/1.643, allocations: 305.1 kB / 1.33 GB, free: 116.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004237/1.647, allocations: 2.991 MB / 1.333 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004608/1.652, allocations: 3.847 MB / 1.337 GB, free: 109.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008631/1.661, allocations: 7.38 MB / 1.344 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/1.661, allocations: 8 kB / 1.344 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02616/1.687, allocations: 12.56 MB / 1.356 GB, free: 89.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/1.687, allocations: 18.56 kB / 1.356 GB, free: 89.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.214e-05/1.687, allocations: 23.94 kB / 1.356 GB, free: 89.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02215/1.709, allocations: 6.032 MB / 1.362 GB, free: 83.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/1.711, allocations: 491.2 kB / 1.362 GB, free: 82.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06901/1.78, allocations: 67.18 MB / 1.428 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004526/1.785, allocations: 211.8 kB / 1.428 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/1.786, allocations: 156 kB / 1.428 GB, free: 12.13 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004652/1.791, allocations: 1.98 MB / 1.43 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001843/1.793, allocations: 399.3 kB / 1.431 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02764/1.82, allocations: 12.23 MB / 1.443 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/1.82, allocations: 40 kB / 1.443 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001809/1.821, allocations: 48 kB / 1.443 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-05/1.821, allocations: 23.92 kB / 1.443 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04504/1.866, allocations: 19.15 MB / 1.461 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.046e-05/1.866, allocations: 11.94 kB / 1.461 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/1.867, allocations: 283.6 kB / 1.462 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02186/1.889, allocations: 5.578 MB / 1.467 GB, free: 4.016 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007019/1.89, allocations: 80 kB / 1.467 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08419/1.974, allocations: 64.79 MB / 1.531 GB, free: 8 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.974, allocations: 8 kB / 1.531 GB, free: 0 / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03655/2.011, allocations: 15.62 MB / 1.546 GB, free: 152 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002851/2.014, allocations: 1.039 MB / 1.547 GB, free: 15.08 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/2.015, allocations: 83.98 kB / 1.547 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/2.018, allocations: 215.8 kB / 1.547 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001778/2.02, allocations: 410.2 kB / 1.547 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004956/2.021, allocations: 107.9 kB / 1.548 GB, free: 14.28 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002995/2.024, allocations: 1.556 MB / 1.549 GB, free: 12.73 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.6e-07/2.024, allocations: 0 / 1.549 GB, free: 12.73 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.007194/2.031, allocations: 1.863 MB / 1.551 GB, free: 10.86 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008063/2.032, allocations: 226.7 kB / 1.551 GB, free: 10.63 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02322/2.055, allocations: 12.16 MB / 1.563 GB, free: 14.16 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-05/2.055, allocations: 4 kB / 1.563 GB, free: 14.16 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.01745/2.072, allocations: 8.351 MB / 1.571 GB, free: 5.512 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009555/2.082, allocations: 1.114 MB / 1.572 GB, free: 4.41 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03624/2.118, allocations: 14.81 MB / 1.587 GB, free: 5.547 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008543/2.127, allocations: 4.086 MB / 1.591 GB, free: 1.426 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.004222/2.131, allocations: 0.6669 MB / 1.591 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/2.132, allocations: 183.4 kB / 1.592 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of SimCode: time 9.51e-07/2.132, allocations: 0 / 1.592 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of Templates: time 0.1735/2.305, allocations: 108 MB / 1.697 GB, free: 5.535 MB / 1.264 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)