Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 195.3 kB / 16.64 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 69.75 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2983, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03208/0.3304, allocations: 26.58 MB / 0.8101 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.3465, allocations: 8.122 MB / 0.818 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004274/0.3508, allocations: 119.4 kB / 0.8181 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007462/0.3584, allocations: 2.755 MB / 0.8208 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006498/0.3649, allocations: 1.589 MB / 0.8224 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005944/0.3709, allocations: 1.671 MB / 0.824 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009795/0.3807, allocations: 6.15 MB / 0.83 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009859/0.3906, allocations: 7.316 MB / 0.8372 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005184/0.3958, allocations: 2.566 MB / 0.8397 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005237/0.4011, allocations: 2.835 MB / 0.8424 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.4022, allocations: 0.5117 MB / 0.8429 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/0.4061, allocations: 1.272 MB / 0.8442 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002558/0.4087, allocations: 2.054 MB / 0.8462 GB, free: 12.93 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003926/0.4126, allocations: 2.385 MB / 0.8485 GB, free: 10.53 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.4234, allocations: 8.051 MB / 0.8564 GB, free: 2.457 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4234, allocations: 0 / 0.8564 GB, free: 2.457 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4234, allocations: 0 / 0.8564 GB, free: 2.457 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002641/0.4237, allocations: 0 / 0.8564 GB, free: 2.457 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01136/0.4351, allocations: 4.232 MB / 0.8605 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4351, allocations: 8.031 kB / 0.8605 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004501/0.4396, allocations: 0.804 MB / 0.8613 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00515/0.4448, allocations: 2.577 MB / 0.8638 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.4451, allocations: 271.7 kB / 0.8641 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007994/0.4459, allocations: 376.5 kB / 0.8644 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.4578, allocations: 5.996 MB / 0.8703 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000156/0.458, allocations: 19.83 kB / 0.8703 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006836/0.4587, allocations: 159.9 kB / 0.8705 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000648/0.4594, allocations: 278.9 kB / 0.8707 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009059/0.4685, allocations: 4.52 MB / 0.8751 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03638/0.5049, allocations: 27.46 MB / 0.902 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.5069, allocations: 1.12 MB / 0.9031 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.5085, allocations: 1.027 MB / 0.9041 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.5086, allocations: 13 kB / 0.9041 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.5086, allocations: 51.5 kB / 0.9041 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 4.619e-06/0.5087, allocations: 0 / 0.9041 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.02354/0.5322, allocations: 9.664 MB / 0.9136 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.5323, allocations: 68.72 kB / 0.9136 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.5349, allocations: 1.494 MB / 0.9151 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.5351, allocations: 49.7 kB / 0.9151 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.5364, allocations: 1.667 MB / 0.9168 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004931/0.5369, allocations: 469.3 kB / 0.9172 GB, free: 1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006356/0.5375, allocations: 331.2 kB / 0.9175 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5377, allocations: 309.1 kB / 0.9178 GB, free: 376 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5239/1.062, allocations: 0.9101 MB / 0.9187 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/1.064, allocations: 1.465 MB / 0.9201 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/1.067, allocations: 2.55 MB / 0.9226 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/1.067, allocations: 7.219 kB / 0.9226 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005754/1.073, allocations: 3.279 MB / 0.9258 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.073, allocations: 15.75 kB / 0.9258 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/1.073, allocations: 18.28 kB / 0.9259 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/1.075, allocations: 0.7347 MB / 0.9266 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/1.077, allocations: 386.9 kB / 0.9269 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/1.09, allocations: 17.04 MB / 0.9436 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.091, allocations: 101.7 kB / 0.9437 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/1.092, allocations: 75.5 kB / 0.9438 GB, free: 108.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002317/1.094, allocations: 1.309 MB / 0.945 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/1.094, allocations: 202.2 kB / 0.9452 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/1.1, allocations: 2.788 MB / 0.9479 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/1.1, allocations: 12 kB / 0.948 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/1.1, allocations: 7.062 kB / 0.948 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/1.1, allocations: 12.81 kB / 0.948 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.111, allocations: 6.216 MB / 0.9541 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.111, allocations: 6.906 kB / 0.9541 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.112, allocations: 233 kB / 0.9543 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/1.114, allocations: 0.6715 MB / 0.9549 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/1.114, allocations: 32.89 kB / 0.955 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/1.128, allocations: 16.79 MB / 0.9714 GB, free: 89.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.128, allocations: 6.781 kB / 0.9714 GB, free: 89.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006443/1.134, allocations: 4.008 MB / 0.9753 GB, free: 87.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.135, allocations: 458.6 kB / 0.9757 GB, free: 87.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/1.136, allocations: 32.94 kB / 0.9758 GB, free: 87.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/1.137, allocations: 82.86 kB / 0.9758 GB, free: 87.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/1.137, allocations: 115.6 kB / 0.9759 GB, free: 87.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.974e-05/1.137, allocations: 42.61 kB / 0.976 GB, free: 87.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001213/1.138, allocations: 0.9927 MB / 0.9769 GB, free: 86.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.138, allocations: 7.5 kB / 0.977 GB, free: 86.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002589/1.141, allocations: 0.6851 MB / 0.9776 GB, free: 86.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002444/1.141, allocations: 149.7 kB / 0.9778 GB, free: 86.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004394/1.145, allocations: 3.525 MB / 0.9812 GB, free: 84.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.145, allocations: 0 / 0.9812 GB, free: 84.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002709/1.148, allocations: 2.293 MB / 0.9834 GB, free: 82.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.151, allocations: 0.6662 MB / 0.9841 GB, free: 82.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0092/1.16, allocations: 6.456 MB / 0.9904 GB, free: 78.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/1.162, allocations: 2.667 MB / 0.993 GB, free: 76.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001313/1.164, allocations: 484.8 kB / 0.9935 GB, free: 75.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.164, allocations: 123.4 kB / 0.9936 GB, free: 75.49 MB / 0.7325 GB Notification: Performance of SimCode: time 1.213e-06/1.164, allocations: 0 / 0.9936 GB, free: 75.49 MB / 0.7325 GB Notification: Performance of Templates: time 0.04567/1.21, allocations: 33.64 MB / 1.026 GB, free: 42.39 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)