Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001128/0.001128, allocations: 109.2 kB / 17.03 MB, free: 5.66 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.001017/0.001017, allocations: 190.9 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7434/0.7434, allocations: 115.1 MB / 406.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4219, allocations: 76.13 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007163/0.4291, allocations: 5.513 MB / 0.5629 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004619/0.4337, allocations: 2.654 MB / 0.5655 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000584/0.4344, allocations: 27.12 kB / 0.5656 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.4362, allocations: 0.6816 MB / 0.5662 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.4375, allocations: 412.4 kB / 0.5666 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.4388, allocations: 407.1 kB / 0.567 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.4402, allocations: 0.9548 MB / 0.5679 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007903/0.441, allocations: 473.9 kB / 0.5684 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006858/0.4417, allocations: 368.4 kB / 0.5688 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000622/0.4423, allocations: 405.2 kB / 0.5691 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.943e-05/0.4424, allocations: 49 kB / 0.5692 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009612/0.4434, allocations: 359.9 kB / 0.5695 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.4437, allocations: 252.5 kB / 0.5698 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.4442, allocations: 350 kB / 0.5701 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.4457, allocations: 0.9716 MB / 0.5711 GB, free: 28.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4457, allocations: 5.312 kB / 0.5711 GB, free: 28.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4457, allocations: 0 / 0.5711 GB, free: 28.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.4457, allocations: 0.9688 kB / 0.5711 GB, free: 28.63 MB / 446.1 MB 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.001767/0.4475, allocations: 0.9806 MB / 0.572 GB, free: 27.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4476, allocations: 10.69 kB / 0.572 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.449, allocations: 191.6 kB / 0.5722 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009306/0.45, allocations: 0.5255 MB / 0.5727 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.45, allocations: 37.97 kB / 0.5728 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.4502, allocations: 61.69 kB / 0.5728 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.4514, allocations: 0.8295 MB / 0.5736 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.4514, allocations: 7.5 kB / 0.5736 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.4515, allocations: 18.88 kB / 0.5737 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/0.4517, allocations: 72.66 kB / 0.5737 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.4525, allocations: 0.5667 MB / 0.5743 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00393/0.4565, allocations: 4.577 MB / 0.5787 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.4569, allocations: 298.5 kB / 0.579 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.4573, allocations: 223.5 kB / 0.5792 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.4573, allocations: 4.625 kB / 0.5792 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.4573, allocations: 40.5 kB / 0.5793 GB, free: 22.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.4573, allocations: 1.25 kB / 0.5793 GB, free: 22.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005309/0.4627, allocations: 2.631 MB / 0.5819 GB, free: 21.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.4627, allocations: 55.09 kB / 0.5819 GB, free: 21.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/0.4633, allocations: 465.8 kB / 0.5824 GB, free: 21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.4633, allocations: 31.92 kB / 0.5824 GB, free: 20.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.4635, allocations: 341.5 kB / 0.5827 GB, free: 20.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.606e-05/0.4636, allocations: 145.9 kB / 0.5828 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.4638, allocations: 103 kB / 0.5829 GB, free: 20.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.4639, allocations: 366.7 kB / 0.5833 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.4643, allocations: 238.9 kB / 0.5835 GB, free: 20.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.4647, allocations: 410.6 kB / 0.5839 GB, free: 19.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007978/0.4655, allocations: 0.6733 MB / 0.5846 GB, free: 19.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4655, allocations: 2.344 kB / 0.5846 GB, free: 19.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001649/0.4672, allocations: 0.9232 MB / 0.5855 GB, free: 18.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4672, allocations: 8.609 kB / 0.5855 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.4672, allocations: 9.125 kB / 0.5855 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007836/0.468, allocations: 231.7 kB / 0.5857 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.4685, allocations: 112 kB / 0.5858 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/0.4729, allocations: 5.331 MB / 0.591 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.4735, allocations: 29.84 kB / 0.5911 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.4735, allocations: 27.03 kB / 0.5911 GB, free: 14.15 MB / 446.1 MB 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.0003707/0.4739, allocations: 231 kB / 0.5913 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.474, allocations: 67.78 kB / 0.5914 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.4755, allocations: 0.7703 MB / 0.5921 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4755, allocations: 4.188 kB / 0.5921 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.4755, allocations: 2.906 kB / 0.5921 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4755, allocations: 4 kB / 0.5921 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.4782, allocations: 1.5 MB / 0.5936 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4782, allocations: 2.875 kB / 0.5936 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.4786, allocations: 68.28 kB / 0.5937 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006408/0.4793, allocations: 206.3 kB / 0.5939 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.4793, allocations: 15.84 kB / 0.5939 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003859/0.4832, allocations: 5.274 MB / 0.599 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.4832, allocations: 2.344 kB / 0.599 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.4849, allocations: 1.126 MB / 0.6001 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.4852, allocations: 173.6 kB / 0.6003 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.4853, allocations: 16.17 kB / 0.6003 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.4856, allocations: 24.34 kB / 0.6003 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/0.4857, allocations: 43.11 kB / 0.6004 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.4857, allocations: 9.219 kB / 0.6004 GB, free: 6.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.4861, allocations: 313.3 kB / 0.6007 GB, free: 6.195 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4861, allocations: 5.312 kB / 0.6007 GB, free: 6.191 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007945/0.4869, allocations: 169.3 kB / 0.6008 GB, free: 6.172 MB / 446.1 MB 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.0001488/0.487, allocations: 120.8 kB / 0.601 GB, free: 6.062 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.4884, allocations: 1.016 MB / 0.6019 GB, free: 5.164 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4884, allocations: 4 kB / 0.602 GB, free: 5.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007214/0.4891, allocations: 0.6799 MB / 0.6026 GB, free: 4.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/0.4899, allocations: 178.5 kB / 0.6028 GB, free: 4.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.4916, allocations: 1.264 MB / 0.604 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.4919, allocations: 0.9533 MB / 0.605 GB, free: 1.984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.4922, allocations: 113 kB / 0.6051 GB, free: 1.871 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.864e-05/0.4923, allocations: 39.42 kB / 0.6051 GB, free: 1.832 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4923, allocations: 3.938 kB / 0.6051 GB, free: 1.828 MB / 446.1 MB Notification: Performance of Templates: time 0.01368/0.506, allocations: 8.845 MB / 0.6137 GB, free: 9.121 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)