Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.00111/0.00111, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00188/0.00188, allocations: 189.4 kB / 16.25 MB, free: 6.145 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.726/1.726, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.845/1.845, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.00158/0.00158, allocations: 68.3 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3203, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007576/0.3279, allocations: 5.539 MB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004602/0.3325, allocations: 2.643 MB / 0.7909 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.333, allocations: 19.88 kB / 0.7909 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.3348, allocations: 0.6455 MB / 0.7915 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.3359, allocations: 378.1 kB / 0.7919 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.337, allocations: 371.3 kB / 0.7922 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.3381, allocations: 0.9552 MB / 0.7931 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008189/0.3389, allocations: 0.5143 MB / 0.7936 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005178/0.3395, allocations: 374.6 kB / 0.794 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.34, allocations: 422.4 kB / 0.7944 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.076e-05/0.34, allocations: 52 kB / 0.7945 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006754/0.3407, allocations: 355.2 kB / 0.7948 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.341, allocations: 255.3 kB / 0.795 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.3413, allocations: 346.2 kB / 0.7954 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.3423, allocations: 0.9928 MB / 0.7963 GB, free: 40 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3423, allocations: 0 / 0.7963 GB, free: 40 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3424, allocations: 0 / 0.7963 GB, free: 40 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3424, allocations: 0 / 0.7963 GB, free: 40 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001674/0.344, allocations: 0.9799 MB / 0.7973 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3441, allocations: 8.031 kB / 0.7973 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.3455, allocations: 191.9 kB / 0.7975 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.3462, allocations: 0.4905 MB / 0.798 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.3462, allocations: 37.38 kB / 0.798 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.3464, allocations: 60.53 kB / 0.7981 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.3475, allocations: 0.8285 MB / 0.7989 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.3476, allocations: 8 kB / 0.7989 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.3476, allocations: 20 kB / 0.7989 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.3478, allocations: 68.89 kB / 0.799 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/0.3486, allocations: 0.5697 MB / 0.7995 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004475/0.3531, allocations: 4.589 MB / 0.804 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.3536, allocations: 291.2 kB / 0.8043 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.3539, allocations: 225.3 kB / 0.8045 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.354, allocations: 12.2 kB / 0.8045 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.354, allocations: 42.84 kB / 0.8045 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.354, allocations: 0 / 0.8045 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005582/0.3596, allocations: 2.635 MB / 0.8071 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3597, allocations: 59.41 kB / 0.8072 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.3602, allocations: 462 kB / 0.8076 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.3603, allocations: 33.7 kB / 0.8076 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.3605, allocations: 343.6 kB / 0.808 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.3607, allocations: 145.9 kB / 0.8081 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.3609, allocations: 98.16 kB / 0.8082 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.361, allocations: 366.8 kB / 0.8086 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.3614, allocations: 237 kB / 0.8088 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.3618, allocations: 409.2 kB / 0.8092 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008528/0.3627, allocations: 0.6818 MB / 0.8098 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3627, allocations: 4 kB / 0.8098 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001618/0.3643, allocations: 0.9213 MB / 0.8107 GB, free: 412 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3644, allocations: 4 kB / 0.8107 GB, free: 408 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3644, allocations: 8 kB / 0.8108 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007736/0.3652, allocations: 230.4 kB / 0.811 GB, free: 160 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.3658, allocations: 111.8 kB / 0.8111 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005221/0.371, allocations: 5.339 MB / 0.8163 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/0.3716, allocations: 27.98 kB / 0.8163 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.3717, allocations: 23.98 kB / 0.8163 GB, free: 10.24 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0004526/0.3722, allocations: 222.1 kB / 0.8166 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.3723, allocations: 59.28 kB / 0.8166 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.3738, allocations: 0.7781 MB / 0.8174 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3739, allocations: 4 kB / 0.8174 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3739, allocations: 0 / 0.8174 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3739, allocations: 3.984 kB / 0.8174 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.3763, allocations: 1.51 MB / 0.8189 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3763, allocations: 4.406 kB / 0.8189 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.3767, allocations: 75.89 kB / 0.8189 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006593/0.3774, allocations: 202.4 kB / 0.8191 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.3774, allocations: 12 kB / 0.8191 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00517/0.3826, allocations: 5.278 MB / 0.8243 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3826, allocations: 4.031 kB / 0.8243 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.3845, allocations: 1.139 MB / 0.8254 GB, free: 368 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.3847, allocations: 172.5 kB / 0.8256 GB, free: 176 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.3848, allocations: 15.94 kB / 0.8256 GB, free: 160 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.3851, allocations: 27.91 kB / 0.8256 GB, free: 132 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3852, allocations: 31.95 kB / 0.8256 GB, free: 100 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.3853, allocations: 12 kB / 0.8257 GB, free: 88 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003853/0.3857, allocations: 318.9 kB / 0.826 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3857, allocations: 0 / 0.826 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007304/0.3864, allocations: 172 kB / 0.8261 GB, free: 15.61 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,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.0002087/0.3866, allocations: 115.1 kB / 0.8262 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001802/0.3884, allocations: 1.059 MB / 0.8273 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3884, allocations: 0 / 0.8273 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009154/0.3894, allocations: 0.6837 MB / 0.8279 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009048/0.3903, allocations: 192.7 kB / 0.8281 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.3925, allocations: 1.506 MB / 0.8296 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.393, allocations: 0.9494 MB / 0.8305 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003733/0.3934, allocations: 113 kB / 0.8306 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-05/0.3935, allocations: 35.44 kB / 0.8307 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of SimCode: time 7.82e-07/0.3935, allocations: 0 / 0.8307 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.01514/0.4087, allocations: 8.919 MB / 0.8394 GB, free: 2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)