Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 100 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.002074/0.002074, allocations: 177.3 kB / 15.95 MB, free: 216 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.782/1.782, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.677/1.677, allocations: 251.9 MB / 0.51 GB, free: 4.914 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.0008465/0.0008467, allocations: 16 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6077/0.6086, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02106/0.6297, allocations: 17.64 MB / 0.7452 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.6416, allocations: 6.218 MB / 0.7513 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.6431, allocations: 67.56 kB / 0.7513 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009612/0.644, allocations: 405.5 kB / 0.7517 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.6464, allocations: 0.8684 MB / 0.7526 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.6486, allocations: 0.774 MB / 0.7533 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003247/0.6519, allocations: 2.319 MB / 0.7556 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009648/0.6616, allocations: 6.381 MB / 0.7618 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.6645, allocations: 1.316 MB / 0.7631 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.6674, allocations: 1.366 MB / 0.7645 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000567/0.6679, allocations: 184 kB / 0.7646 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.6696, allocations: 407.5 kB / 0.765 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.6709, allocations: 1.236 MB / 0.7662 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000807/0.6717, allocations: 0.6446 MB / 0.7669 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005737/0.6774, allocations: 5.287 MB / 0.772 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6775, allocations: 4 kB / 0.772 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.599e-06/0.6775, allocations: 0 / 0.772 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003002/0.6778, allocations: 0 / 0.772 GB, free: 14.2 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01085/0.6887, allocations: 2.839 MB / 0.7748 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/0.6887, allocations: 8.031 kB / 0.7748 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004285/0.693, allocations: 0.6284 MB / 0.7754 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005791/0.6989, allocations: 1.889 MB / 0.7773 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.6991, allocations: 229.9 kB / 0.7775 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008759/0.7, allocations: 291.9 kB / 0.7778 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008649/0.7087, allocations: 4.839 MB / 0.7825 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.483e-05/0.7088, allocations: 15.91 kB / 0.7825 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003072/0.7091, allocations: 135.9 kB / 0.7826 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004407/0.7095, allocations: 221.7 kB / 0.7828 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006197/0.7157, allocations: 3.731 MB / 0.7865 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0244/0.7401, allocations: 21.61 MB / 0.8076 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.742, allocations: 1.304 MB / 0.8089 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.638e-05/0.7421, allocations: 13 kB / 0.8089 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.7421, allocations: 47.56 kB / 0.8089 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=107): time 3.517e-06/0.7422, allocations: 0 / 0.8089 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of matching and sorting (n=138): time 0.02396/0.7661, allocations: 8.649 MB / 0.8174 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.7662, allocations: 68.66 kB / 0.8174 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.7678, allocations: 1.122 MB / 0.8185 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.7679, allocations: 45.7 kB / 0.8186 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008647/0.7688, allocations: 1.304 MB / 0.8198 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/0.7692, allocations: 481.2 kB / 0.8203 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.7693, allocations: 32 kB / 0.8203 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.7695, allocations: 369.9 kB / 0.8207 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.7707, allocations: 0.9096 MB / 0.8216 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.7723, allocations: 1.311 MB / 0.8228 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.7738, allocations: 1.138 MB / 0.824 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.7738, allocations: 4 kB / 0.824 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005857/0.7797, allocations: 3.45 MB / 0.8273 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.7797, allocations: 8 kB / 0.8273 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.7798, allocations: 12 kB / 0.8274 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003028/0.7828, allocations: 1.193 MB / 0.8285 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009077/0.7837, allocations: 251.6 kB / 0.8288 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/0.7999, allocations: 13.19 MB / 0.8416 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.8014, allocations: 87.97 kB / 0.8417 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.8016, allocations: 68 kB / 0.8418 GB, free: 3.688 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002213/0.8038, allocations: 1.109 MB / 0.8429 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.8041, allocations: 162.1 kB / 0.843 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005514/0.8096, allocations: 3.165 MB / 0.8461 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.8096, allocations: 12 kB / 0.8461 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.8097, allocations: 12 kB / 0.8461 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.8097, allocations: 7.969 kB / 0.8462 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.8206, allocations: 6.241 MB / 0.8522 GB, free: 8.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.8206, allocations: 11.98 kB / 0.8523 GB, free: 8.809 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.8212, allocations: 143.8 kB / 0.8524 GB, free: 8.668 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002784/0.824, allocations: 1.064 MB / 0.8534 GB, free: 7.598 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.2e-05/0.8241, allocations: 36.38 kB / 0.8535 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/0.841, allocations: 12.9 MB / 0.8661 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.841, allocations: 11.92 kB / 0.8661 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005563/0.8466, allocations: 3.377 MB / 0.8694 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.8478, allocations: 438.9 kB / 0.8698 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.848, allocations: 27.98 kB / 0.8698 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008622/0.8489, allocations: 83.91 kB / 0.8699 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/0.8493, allocations: 132.7 kB / 0.87 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-05/0.8494, allocations: 40 kB / 0.8701 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001144/0.8505, allocations: 0.7554 MB / 0.8708 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8505, allocations: 4 kB / 0.8708 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002155/0.8527, allocations: 0.6562 MB / 0.8714 GB, free: 4.504 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * 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 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/0.853, allocations: 139.5 kB / 0.8716 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004909/0.8579, allocations: 3.13 MB / 0.8746 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.8579, allocations: 0.75 kB / 0.8746 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.8609, allocations: 1.967 MB / 0.8766 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.863, allocations: 443.7 kB / 0.877 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009572/0.8726, allocations: 6.45 MB / 0.8833 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002431/0.8751, allocations: 2.391 MB / 0.8856 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001184/0.8763, allocations: 362.1 kB / 0.886 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.8765, allocations: 83.44 kB / 0.886 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of SimCode: time 1.122e-06/0.8765, allocations: 0 / 0.886 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of Templates: time 0.4367/1.313, allocations: 30.17 MB / 0.9155 GB, free: 161.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) Environment - environmentSimulation: