Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001367/0.001367, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.00149/0.00149, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 280 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9618/0.9618, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 95.52 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1563, allocations: 86.98 MB / 0.6816 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007583/0.164, allocations: 5.529 MB / 0.687 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2649/0.4289, allocations: 2.631 MB / 0.6896 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.4294, allocations: 22.06 kB / 0.6896 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.4311, allocations: 0.6806 MB / 0.6903 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009042/0.4321, allocations: 411.3 kB / 0.6907 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009726/0.433, allocations: 412.1 kB / 0.691 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.4342, allocations: 0.9618 MB / 0.692 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00066/0.4348, allocations: 462.8 kB / 0.6924 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004588/0.4353, allocations: 372.9 kB / 0.6928 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.4358, allocations: 403.7 kB / 0.6932 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.799e-05/0.4359, allocations: 47.78 kB / 0.6932 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006527/0.4366, allocations: 361.2 kB / 0.6936 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.4368, allocations: 250.9 kB / 0.6938 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.4372, allocations: 346.8 kB / 0.6941 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.4383, allocations: 0.9744 MB / 0.6951 GB, free: 12.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4383, allocations: 4 kB / 0.6951 GB, free: 12.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4383, allocations: 0 / 0.6951 GB, free: 12.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4383, allocations: 4.719 kB / 0.6951 GB, free: 12.11 MB / 494.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.001493/0.4398, allocations: 0.975 MB / 0.696 GB, free: 11.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4399, allocations: 10.09 kB / 0.696 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.4413, allocations: 198 kB / 0.6962 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008831/0.4422, allocations: 0.5263 MB / 0.6968 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.4423, allocations: 40.62 kB / 0.6968 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.4424, allocations: 55.84 kB / 0.6968 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.4437, allocations: 0.8349 MB / 0.6977 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.4438, allocations: 7.359 kB / 0.6977 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.4438, allocations: 20.55 kB / 0.6977 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/0.4441, allocations: 64.17 kB / 0.6977 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009358/0.445, allocations: 0.5769 MB / 0.6983 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003797/0.4488, allocations: 4.57 MB / 0.7028 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.4493, allocations: 302.2 kB / 0.7031 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.4496, allocations: 224 kB / 0.7033 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.4496, allocations: 3.406 kB / 0.7033 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.4497, allocations: 37.2 kB / 0.7033 GB, free: 6.184 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.4497, allocations: 0 / 0.7033 GB, free: 6.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.005499/0.4552, allocations: 2.63 MB / 0.7059 GB, free: 4.801 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.4552, allocations: 56.39 kB / 0.7059 GB, free: 4.738 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.4558, allocations: 465.2 kB / 0.7064 GB, free: 4.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.4558, allocations: 31.8 kB / 0.7064 GB, free: 4.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.456, allocations: 345.7 kB / 0.7067 GB, free: 4.199 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.266e-05/0.4561, allocations: 139.9 kB / 0.7069 GB, free: 4.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.4563, allocations: 112.1 kB / 0.707 GB, free: 4.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.4564, allocations: 367.8 kB / 0.7073 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.4567, allocations: 239 kB / 0.7076 GB, free: 3.609 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.4572, allocations: 404.8 kB / 0.7079 GB, free: 3.316 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.458, allocations: 0.6741 MB / 0.7086 GB, free: 2.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.458, allocations: 5.531 kB / 0.7086 GB, free: 2.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00173/0.4597, allocations: 0.9195 MB / 0.7095 GB, free: 2.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4598, allocations: 8.25 kB / 0.7095 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4598, allocations: 6.203 kB / 0.7095 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007627/0.4606, allocations: 219.2 kB / 0.7097 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.4611, allocations: 116.3 kB / 0.7098 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004717/0.4658, allocations: 5.334 MB / 0.715 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.4664, allocations: 29.81 kB / 0.7151 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.4664, allocations: 23.48 kB / 0.7151 GB, free: 13.75 MB / 0.4981 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.0003739/0.4668, allocations: 230 kB / 0.7153 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.4669, allocations: 60.67 kB / 0.7154 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.4684, allocations: 0.7746 MB / 0.7161 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4685, allocations: 8.656 kB / 0.7161 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4685, allocations: 2.688 kB / 0.7161 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.4685, allocations: 6.047 kB / 0.7162 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.4712, allocations: 1.495 MB / 0.7176 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4712, allocations: 1.094 kB / 0.7176 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.4716, allocations: 64.75 kB / 0.7177 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006971/0.4723, allocations: 210.7 kB / 0.7179 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.4723, allocations: 14.97 kB / 0.7179 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004757/0.4771, allocations: 5.271 MB / 0.723 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4771, allocations: 2.812 kB / 0.723 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.479, allocations: 1.13 MB / 0.7241 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.4793, allocations: 175 kB / 0.7243 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.4794, allocations: 13.62 kB / 0.7243 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.4798, allocations: 24.3 kB / 0.7243 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.4799, allocations: 35.23 kB / 0.7244 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.4799, allocations: 9.625 kB / 0.7244 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003816/0.4803, allocations: 320.1 kB / 0.7247 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4803, allocations: 0 / 0.7247 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000739/0.481, allocations: 170.4 kB / 0.7249 GB, free: 6.801 MB / 0.4981 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.0001438/0.4812, allocations: 119.4 kB / 0.725 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.4828, allocations: 1.018 MB / 0.726 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4828, allocations: 1.625 kB / 0.726 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.4838, allocations: 0.6812 MB / 0.7266 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/0.4848, allocations: 192.8 kB / 0.7268 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.4871, allocations: 1.249 MB / 0.728 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.4876, allocations: 0.9565 MB / 0.729 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003503/0.488, allocations: 121.4 kB / 0.7291 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.4881, allocations: 36.41 kB / 0.7291 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of SimCode: time 1.814e-06/0.4881, allocations: 0 / 0.7291 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of Templates: time 0.01627/0.5044, allocations: 8.872 MB / 0.7378 GB, free: 16 kB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)