Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.009707/0.009707, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.001575/0.001575, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.865/1.865, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.683/1.683, allocations: 251.7 MB / 0.5094 GB, free: 3.074 MB / 414.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.002381/0.002382, allocations: 67.91 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3265, allocations: 104.7 MB / 0.828 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008589/0.3351, allocations: 5.52 MB / 0.8334 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005445/0.3406, allocations: 2.655 MB / 0.836 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007291/0.3414, allocations: 27.88 kB / 0.8361 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.3436, allocations: 0.6768 MB / 0.8367 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.3459, allocations: 401.8 kB / 0.8371 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.3476, allocations: 422.6 kB / 0.8375 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.3496, allocations: 0.9513 MB / 0.8384 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008861/0.3505, allocations: 466.5 kB / 0.8389 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007114/0.3512, allocations: 370.5 kB / 0.8392 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007069/0.3519, allocations: 406.4 kB / 0.8396 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.352, allocations: 51.98 kB / 0.8397 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009861/0.353, allocations: 359.2 kB / 0.84 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.3533, allocations: 259.2 kB / 0.8403 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.3538, allocations: 342.3 kB / 0.8406 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.3553, allocations: 0.9811 MB / 0.8415 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3553, allocations: 4 kB / 0.8415 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3553, allocations: 0 / 0.8415 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.3553, allocations: 4 kB / 0.8415 GB, free: 2.293 MB / 0.6544 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.001825/0.3571, allocations: 0.9659 MB / 0.8425 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.3572, allocations: 19.95 kB / 0.8425 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.3588, allocations: 191.8 kB / 0.8427 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.3598, allocations: 0.5258 MB / 0.8432 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.3599, allocations: 37.36 kB / 0.8432 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.3601, allocations: 56.53 kB / 0.8433 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.3614, allocations: 0.824 MB / 0.8441 GB, free: 15.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.3614, allocations: 7.984 kB / 0.8441 GB, free: 15.5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.3615, allocations: 23.98 kB / 0.8441 GB, free: 15.47 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/0.3617, allocations: 68.89 kB / 0.8442 GB, free: 15.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008857/0.3626, allocations: 0.5658 MB / 0.8448 GB, free: 14.84 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005085/0.3677, allocations: 4.573 MB / 0.8492 GB, free: 9.918 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.3683, allocations: 295.3 kB / 0.8495 GB, free: 9.621 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.3686, allocations: 229.2 kB / 0.8497 GB, free: 9.395 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.3687, allocations: 4.281 kB / 0.8497 GB, free: 9.391 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.3687, allocations: 30.84 kB / 0.8498 GB, free: 9.352 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 6.182e-06/0.3687, allocations: 4 kB / 0.8498 GB, free: 9.348 MB / 0.67 GB Notification: Performance of matching and sorting (n=40): time 0.005916/0.3747, allocations: 2.637 MB / 0.8523 GB, free: 6.582 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.3747, allocations: 55.41 kB / 0.8524 GB, free: 6.516 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/0.3753, allocations: 466 kB / 0.8528 GB, free: 6.047 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.3754, allocations: 33.7 kB / 0.8529 GB, free: 6.008 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.3756, allocations: 347.5 kB / 0.8532 GB, free: 5.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.3758, allocations: 142 kB / 0.8533 GB, free: 5.52 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.3759, allocations: 114.1 kB / 0.8534 GB, free: 5.402 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3761, allocations: 358.8 kB / 0.8538 GB, free: 5.043 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.3765, allocations: 241 kB / 0.854 GB, free: 4.805 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.377, allocations: 406.4 kB / 0.8544 GB, free: 4.336 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/0.3778, allocations: 0.674 MB / 0.8551 GB, free: 3.59 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3779, allocations: 0 / 0.8551 GB, free: 3.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001648/0.3795, allocations: 0.9247 MB / 0.856 GB, free: 2.648 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.3795, allocations: 8 kB / 0.856 GB, free: 2.641 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3796, allocations: 4 kB / 0.856 GB, free: 2.637 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008583/0.3804, allocations: 226.9 kB / 0.8562 GB, free: 2.406 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.381, allocations: 119.7 kB / 0.8563 GB, free: 2.289 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/0.3865, allocations: 5.336 MB / 0.8615 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.3871, allocations: 31.97 kB / 0.8615 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.3872, allocations: 24 kB / 0.8616 GB, free: 12.48 MB / 0.6856 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.0004176/0.3876, allocations: 233.7 kB / 0.8618 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3877, allocations: 59.28 kB / 0.8618 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.3893, allocations: 0.7772 MB / 0.8626 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3893, allocations: 4 kB / 0.8626 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3893, allocations: 4 kB / 0.8626 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3893, allocations: 0 / 0.8626 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.3918, allocations: 1.503 MB / 0.8641 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.3919, allocations: 4 kB / 0.8641 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.3922, allocations: 63.89 kB / 0.8641 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007643/0.393, allocations: 206.6 kB / 0.8643 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.3931, allocations: 11.98 kB / 0.8643 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005108/0.3982, allocations: 5.273 MB / 0.8695 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.3982, allocations: 4 kB / 0.8695 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.4, allocations: 1.139 MB / 0.8706 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.4004, allocations: 168.4 kB / 0.8708 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.086e-05/0.4004, allocations: 15.94 kB / 0.8708 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.4008, allocations: 27.97 kB / 0.8708 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.4009, allocations: 27.95 kB / 0.8708 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.4009, allocations: 16 kB / 0.8709 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003809/0.4013, allocations: 322.9 kB / 0.8712 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4013, allocations: 3.938 kB / 0.8712 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007541/0.4021, allocations: 164 kB / 0.8713 GB, free: 1.867 MB / 0.6856 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.0002182/0.4023, allocations: 115.3 kB / 0.8714 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.404, allocations: 1.005 MB / 0.8724 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.404, allocations: 3.938 kB / 0.8724 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000966/0.405, allocations: 0.6877 MB / 0.8731 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000937/0.4059, allocations: 190.3 kB / 0.8733 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.4081, allocations: 1.248 MB / 0.8745 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.4087, allocations: 0.9455 MB / 0.8754 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003541/0.4091, allocations: 121 kB / 0.8755 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.4092, allocations: 39.38 kB / 0.8756 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of SimCode: time 6.22e-07/0.4092, allocations: 0 / 0.8756 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of Templates: time 0.01985/0.4291, allocations: 8.981 MB / 0.8843 GB, free: 4.508 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)