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.001029/0.001029, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008018/0.008019, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.788/1.788, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.864/1.864, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005338/0.0005342, allocations: 19.47 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3079, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006929/0.3148, allocations: 5.126 MB / 0.7929 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004938/0.3198, allocations: 2.643 MB / 0.7955 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007431/0.3206, allocations: 23.81 kB / 0.7955 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.3212, allocations: 99.14 kB / 0.7956 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.3227, allocations: 382.1 kB / 0.796 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.3241, allocations: 378.4 kB / 0.7963 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001997/0.3261, allocations: 1.248 MB / 0.7975 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/0.3278, allocations: 0.7832 MB / 0.7983 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007207/0.3286, allocations: 318.5 kB / 0.7986 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006929/0.3293, allocations: 390.4 kB / 0.799 GB, free: 136 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.011e-05/0.3294, allocations: 24 kB / 0.799 GB, free: 112 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000957/0.3303, allocations: 427.1 kB / 0.7994 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.3306, allocations: 223.3 kB / 0.7996 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.3309, allocations: 348 kB / 0.7999 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.3321, allocations: 0.9538 MB / 0.8009 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3321, allocations: 4 kB / 0.8009 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3321, allocations: 0 / 0.8009 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.3321, allocations: 0 / 0.8009 GB, free: 14.16 MB / 0.6231 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.001748/0.3339, allocations: 0.8569 MB / 0.8017 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.3339, allocations: 8.031 kB / 0.8017 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.3353, allocations: 191.9 kB / 0.8019 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006924/0.336, allocations: 498.3 kB / 0.8024 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.3361, allocations: 49.34 kB / 0.8024 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.3363, allocations: 52.55 kB / 0.8025 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.3375, allocations: 0.8322 MB / 0.8033 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.3376, allocations: 4 kB / 0.8033 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.3376, allocations: 23.98 kB / 0.8033 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/0.3378, allocations: 68.94 kB / 0.8034 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.3387, allocations: 0.5696 MB / 0.8039 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004635/0.3433, allocations: 4.589 MB / 0.8084 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.3438, allocations: 303.2 kB / 0.8087 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.3442, allocations: 229.3 kB / 0.8089 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.3442, allocations: 4.281 kB / 0.8089 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3442, allocations: 34.78 kB / 0.809 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.885e-06/0.3443, allocations: 0 / 0.809 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.006236/0.3505, allocations: 2.631 MB / 0.8115 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.3506, allocations: 55.41 kB / 0.8116 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.3512, allocations: 470 kB / 0.812 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.3512, allocations: 33.64 kB / 0.8121 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.3515, allocations: 347.6 kB / 0.8124 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.3516, allocations: 145.9 kB / 0.8125 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.3517, allocations: 53.69 kB / 0.8126 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3519, allocations: 358.8 kB / 0.8129 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.3523, allocations: 237 kB / 0.8132 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.3529, allocations: 414.4 kB / 0.8136 GB, free: 396 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008609/0.3537, allocations: 0.674 MB / 0.8142 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3537, allocations: 0 / 0.8142 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001613/0.3554, allocations: 0.9246 MB / 0.8151 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.3554, allocations: 8.656 kB / 0.8151 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3554, allocations: 7.984 kB / 0.8151 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007729/0.3562, allocations: 226.3 kB / 0.8154 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.3567, allocations: 123.8 kB / 0.8155 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005296/0.362, allocations: 4.935 MB / 0.8203 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005914/0.3626, allocations: 31.97 kB / 0.8203 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.3627, allocations: 24 kB / 0.8203 GB, free: 8.93 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.0003484/0.3631, allocations: 233.9 kB / 0.8206 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/0.3632, allocations: 55.34 kB / 0.8206 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.3647, allocations: 0.7743 MB / 0.8214 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3647, allocations: 7.938 kB / 0.8214 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3647, allocations: 0 / 0.8214 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3647, allocations: 4 kB / 0.8214 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.3672, allocations: 1.498 MB / 0.8228 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3672, allocations: 0 / 0.8228 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.3676, allocations: 63.95 kB / 0.8229 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006877/0.3683, allocations: 206.5 kB / 0.8231 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.3683, allocations: 15.98 kB / 0.8231 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.3729, allocations: 4.868 MB / 0.8279 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.3729, allocations: 15.91 kB / 0.8279 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.3747, allocations: 1.131 MB / 0.829 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.3751, allocations: 180.3 kB / 0.8292 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3752, allocations: 12 kB / 0.8292 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.3756, allocations: 23.97 kB / 0.8292 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3757, allocations: 43.89 kB / 0.8292 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.3758, allocations: 12 kB / 0.8293 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000386/0.3761, allocations: 318.9 kB / 0.8296 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3762, allocations: 0 / 0.8296 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008106/0.377, allocations: 168 kB / 0.8297 GB, free: 14.74 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.0001824/0.3772, allocations: 119.1 kB / 0.8298 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.3789, allocations: 0.9963 MB / 0.8308 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3789, allocations: 4 kB / 0.8308 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009857/0.3799, allocations: 0.684 MB / 0.8315 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.381, allocations: 164.6 kB / 0.8316 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.3835, allocations: 1.575 MB / 0.8332 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.3842, allocations: 0.9455 MB / 0.8341 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004147/0.3846, allocations: 113 kB / 0.8342 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3847, allocations: 35.44 kB / 0.8342 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.3847, allocations: 0 / 0.8342 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of Templates: time 0.01747/0.4022, allocations: 8.418 MB / 0.8425 GB, free: 1.641 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: