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.001021/0.001021, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001138/0.001138, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.729/1.729, allocations: 251.9 MB / 0.51 GB, free: 4.844 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.0005389/0.0005389, allocations: 20 kB / 0.6241 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6198/0.6203, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006055/0.6264, allocations: 4.707 MB / 0.7326 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004431/0.6309, allocations: 2.512 MB / 0.735 GB, free: 4.176 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004627/0.6314, allocations: 23.81 kB / 0.7351 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.6317, allocations: 83.38 kB / 0.7351 GB, free: 4.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009261/0.6326, allocations: 331 kB / 0.7354 GB, free: 3.746 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009153/0.6336, allocations: 307.3 kB / 0.7357 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008954/0.6345, allocations: 0.5824 MB / 0.7363 GB, free: 2.863 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.6358, allocations: 0.7398 MB / 0.737 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.6362, allocations: 283 kB / 0.7373 GB, free: 1.812 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.6367, allocations: 302.8 kB / 0.7376 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.6368, allocations: 24 kB / 0.7376 GB, free: 1.492 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.6372, allocations: 155.8 kB / 0.7378 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.6374, allocations: 199.4 kB / 0.738 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.6376, allocations: 149.3 kB / 0.7381 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008083/0.6384, allocations: 0.6915 MB / 0.7388 GB, free: 308 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.6384, allocations: 0 / 0.7388 GB, free: 308 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6384, allocations: 3.938 kB / 0.7388 GB, free: 304 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.6384, allocations: 0 / 0.7388 GB, free: 304 kB / 0.545 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.001659/0.6401, allocations: 0.8451 MB / 0.7396 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.6402, allocations: 8.031 kB / 0.7396 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.6414, allocations: 182.9 kB / 0.7398 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008479/0.6423, allocations: 477.5 kB / 0.7402 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.6423, allocations: 40.97 kB / 0.7403 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.6425, allocations: 63.94 kB / 0.7403 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.6437, allocations: 0.8122 MB / 0.7411 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.6437, allocations: 7.938 kB / 0.7411 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.6438, allocations: 35.92 kB / 0.7412 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001981/0.644, allocations: 60.95 kB / 0.7412 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008344/0.6448, allocations: 0.5697 MB / 0.7418 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004848/0.6497, allocations: 4.585 MB / 0.7463 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.6502, allocations: 299.1 kB / 0.7465 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.6502, allocations: 4.281 kB / 0.7466 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.6502, allocations: 46.83 kB / 0.7466 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.6503, allocations: 0 / 0.7466 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005572/0.6558, allocations: 2.622 MB / 0.7492 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.6559, allocations: 59.41 kB / 0.7492 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.6565, allocations: 454 kB / 0.7496 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.6565, allocations: 33.7 kB / 0.7497 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.6568, allocations: 347.6 kB / 0.75 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.6569, allocations: 149.9 kB / 0.7502 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.657, allocations: 8 kB / 0.7502 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6571, allocations: 362.8 kB / 0.7505 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.6575, allocations: 237 kB / 0.7507 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.6579, allocations: 406.4 kB / 0.7511 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.6585, allocations: 293.5 kB / 0.7514 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6585, allocations: 0 / 0.7514 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001677/0.6602, allocations: 0.9139 MB / 0.7523 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.6602, allocations: 11.98 kB / 0.7523 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.6602, allocations: 4 kB / 0.7523 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007799/0.661, allocations: 222.7 kB / 0.7525 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.6615, allocations: 119.8 kB / 0.7526 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005202/0.6668, allocations: 5.013 MB / 0.7575 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/0.6673, allocations: 27.97 kB / 0.7576 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.6674, allocations: 24 kB / 0.7576 GB, free: 11.81 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004461/0.6678, allocations: 224.7 kB / 0.7578 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/0.6679, allocations: 59.33 kB / 0.7579 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.6695, allocations: 0.7772 MB / 0.7586 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.6695, allocations: 4 kB / 0.7586 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6695, allocations: 3.984 kB / 0.7586 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6696, allocations: 3.953 kB / 0.7586 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.672, allocations: 1.498 MB / 0.7601 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.672, allocations: 4 kB / 0.7601 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.6724, allocations: 71.88 kB / 0.7602 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006474/0.6731, allocations: 203 kB / 0.7604 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.6731, allocations: 12 kB / 0.7604 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0047/0.6778, allocations: 4.954 MB / 0.7652 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6779, allocations: 3.938 kB / 0.7652 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.6797, allocations: 1.209 MB / 0.7664 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.68, allocations: 168.4 kB / 0.7665 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.6801, allocations: 15.94 kB / 0.7666 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.6804, allocations: 27.97 kB / 0.7666 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.6805, allocations: 44.17 kB / 0.7666 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.6806, allocations: 12 kB / 0.7666 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003309/0.6809, allocations: 310.9 kB / 0.7669 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6809, allocations: 0 / 0.7669 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006751/0.6816, allocations: 164 kB / 0.7671 GB, free: 1.441 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001674/0.6818, allocations: 129.7 kB / 0.7672 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.6834, allocations: 1.008 MB / 0.7682 GB, free: 268 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6834, allocations: 0 / 0.7682 GB, free: 268 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009475/0.6844, allocations: 0.676 MB / 0.7689 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.6851, allocations: 164.9 kB / 0.769 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.6874, allocations: 1.495 MB / 0.7705 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/0.6881, allocations: 0.9572 MB / 0.7714 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003863/0.6884, allocations: 125 kB / 0.7715 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.6886, allocations: 39.44 kB / 0.7716 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.6886, allocations: 0 / 0.7716 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.01428/0.7029, allocations: 8.144 MB / 0.7795 GB, free: 4.668 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: