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.0009546/0.0009548, allocations: 89.2 kB / 16.67 MB, free: 6.59 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.001085/0.001085, allocations: 186.8 kB / 17.58 MB, free: 6.188 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.378/1.378, allocations: 223.3 MB / 241.6 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7012/0.7012, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.000368, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4211, allocations: 77.51 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005774/0.4269, allocations: 5.135 MB / 0.5656 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004681/0.4316, allocations: 2.615 MB / 0.5682 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006927/0.4324, allocations: 21.62 kB / 0.5682 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.4328, allocations: 105.4 kB / 0.5683 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.4342, allocations: 382.7 kB / 0.5686 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.4355, allocations: 366.8 kB / 0.569 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.4373, allocations: 1.252 MB / 0.5702 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.4389, allocations: 0.7955 MB / 0.571 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000695/0.4396, allocations: 309.2 kB / 0.5713 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006444/0.4402, allocations: 391.9 kB / 0.5717 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.4403, allocations: 25.59 kB / 0.5717 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009877/0.4413, allocations: 434.2 kB / 0.5721 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.4416, allocations: 224.5 kB / 0.5723 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003693/0.442, allocations: 339.7 kB / 0.5726 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.4431, allocations: 0.7396 MB / 0.5734 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4431, allocations: 1.031 kB / 0.5734 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4431, allocations: 0 / 0.5734 GB, free: 28.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4431, allocations: 1.438 kB / 0.5734 GB, free: 28.7 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.001535/0.4447, allocations: 0.8495 MB / 0.5742 GB, free: 28.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4447, allocations: 12.84 kB / 0.5742 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.4463, allocations: 199.9 kB / 0.5744 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.447, allocations: 497.5 kB / 0.5749 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.4471, allocations: 33.88 kB / 0.5749 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.4472, allocations: 60.28 kB / 0.575 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.4485, allocations: 0.8346 MB / 0.5758 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.4485, allocations: 5.375 kB / 0.5758 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.4486, allocations: 23.38 kB / 0.5758 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.4488, allocations: 64 kB / 0.5759 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009854/0.4498, allocations: 0.5755 MB / 0.5764 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/0.454, allocations: 4.592 MB / 0.5809 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.4545, allocations: 291.8 kB / 0.5812 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.4549, allocations: 231 kB / 0.5814 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.455, allocations: 4.625 kB / 0.5814 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.455, allocations: 42.89 kB / 0.5815 GB, free: 22.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.765e-06/0.455, allocations: 0 / 0.5815 GB, free: 22.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005884/0.4609, allocations: 2.636 MB / 0.584 GB, free: 21.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.461, allocations: 55.16 kB / 0.5841 GB, free: 21.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.4616, allocations: 465.9 kB / 0.5845 GB, free: 21.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.4616, allocations: 32.27 kB / 0.5846 GB, free: 21.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.4618, allocations: 350.4 kB / 0.5849 GB, free: 20.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.462, allocations: 145.1 kB / 0.585 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.4621, allocations: 51.42 kB / 0.5851 GB, free: 20.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4622, allocations: 363.9 kB / 0.5854 GB, free: 20.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.4626, allocations: 233.6 kB / 0.5856 GB, free: 20.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.463, allocations: 412.7 kB / 0.586 GB, free: 19.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/0.4639, allocations: 0.6799 MB / 0.5867 GB, free: 19.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4639, allocations: 5.531 kB / 0.5867 GB, free: 19.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001783/0.4657, allocations: 0.92 MB / 0.5876 GB, free: 19.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.4657, allocations: 8.156 kB / 0.5876 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4657, allocations: 4.562 kB / 0.5876 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008779/0.4666, allocations: 229.1 kB / 0.5878 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.4672, allocations: 115.8 kB / 0.5879 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004453/0.4716, allocations: 4.94 MB / 0.5928 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.4723, allocations: 34.56 kB / 0.5928 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.4724, allocations: 21.94 kB / 0.5928 GB, free: 14.56 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.0003711/0.4728, allocations: 225.5 kB / 0.593 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.4729, allocations: 60.45 kB / 0.5931 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.4743, allocations: 0.7707 MB / 0.5939 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4743, allocations: 3.781 kB / 0.5939 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4743, allocations: 6.828 kB / 0.5939 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4743, allocations: 5.5 kB / 0.5939 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.4767, allocations: 1.49 MB / 0.5953 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4767, allocations: 2.469 kB / 0.5953 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/0.4771, allocations: 64.94 kB / 0.5954 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006477/0.4778, allocations: 210.9 kB / 0.5956 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.4778, allocations: 8.375 kB / 0.5956 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003655/0.4815, allocations: 4.881 MB / 0.6004 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.4815, allocations: 6.312 kB / 0.6004 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.4832, allocations: 1.135 MB / 0.6015 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.4835, allocations: 170 kB / 0.6016 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.4836, allocations: 12.45 kB / 0.6017 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.4839, allocations: 23.78 kB / 0.6017 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.484, allocations: 43.45 kB / 0.6017 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.484, allocations: 10.12 kB / 0.6017 GB, free: 7.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003714/0.4844, allocations: 313 kB / 0.602 GB, free: 6.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4844, allocations: 4.062 kB / 0.602 GB, free: 6.973 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008132/0.4852, allocations: 172.3 kB / 0.6022 GB, free: 6.906 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.0001744/0.4854, allocations: 115.1 kB / 0.6023 GB, free: 6.785 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.4868, allocations: 1.009 MB / 0.6033 GB, free: 5.738 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.4868, allocations: 4 kB / 0.6033 GB, free: 5.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007718/0.4876, allocations: 0.6801 MB / 0.604 GB, free: 5.016 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.4886, allocations: 176.2 kB / 0.6041 GB, free: 4.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.4906, allocations: 1.615 MB / 0.6057 GB, free: 3.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.491, allocations: 0.9494 MB / 0.6066 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.4911, allocations: 39.44 kB / 0.6067 GB, free: 2.164 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4911, allocations: 0 / 0.6067 GB, free: 2.164 MB / 446.1 MB Notification: Performance of Templates: time 0.01825/0.5094, allocations: 14.81 MB / 0.6211 GB, free: 3.398 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)