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.001324/0.001324, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.00115/0.00115, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 294.9 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9308/0.9308, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 98.84 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1551, allocations: 86.98 MB / 0.6809 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007062/0.1622, allocations: 5.515 MB / 0.6862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2689/0.4312, allocations: 2.647 MB / 0.6888 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006057/0.4318, allocations: 23.44 kB / 0.6889 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.4336, allocations: 0.6716 MB / 0.6895 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009075/0.4346, allocations: 409.8 kB / 0.6899 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009912/0.4356, allocations: 413.7 kB / 0.6903 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.4366, allocations: 0.9602 MB / 0.6912 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006311/0.4373, allocations: 470.3 kB / 0.6917 GB, free: 12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.4378, allocations: 368.2 kB / 0.692 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005268/0.4383, allocations: 401.7 kB / 0.6924 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.55e-05/0.4384, allocations: 47.97 kB / 0.6925 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006733/0.4391, allocations: 366 kB / 0.6928 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.4393, allocations: 247 kB / 0.693 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.4397, allocations: 349.5 kB / 0.6934 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.4407, allocations: 0.9676 MB / 0.6943 GB, free: 11.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4408, allocations: 0 / 0.6943 GB, free: 11.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4408, allocations: 3 kB / 0.6943 GB, free: 11.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.4408, allocations: 0 / 0.6943 GB, free: 11.54 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.001398/0.4422, allocations: 0.9817 MB / 0.6953 GB, free: 10.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4422, allocations: 9.25 kB / 0.6953 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.4436, allocations: 193.5 kB / 0.6955 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006672/0.4443, allocations: 492.5 kB / 0.6959 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.4443, allocations: 40.03 kB / 0.696 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.4445, allocations: 53.8 kB / 0.696 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.4456, allocations: 0.8339 MB / 0.6968 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.4456, allocations: 5.281 kB / 0.6969 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.4457, allocations: 23.38 kB / 0.6969 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001958/0.4459, allocations: 64.22 kB / 0.6969 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.4468, allocations: 0.5731 MB / 0.6975 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.4504, allocations: 4.584 MB / 0.702 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004569/0.4508, allocations: 309.3 kB / 0.7023 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.4511, allocations: 223.8 kB / 0.7025 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.4512, allocations: 4 kB / 0.7025 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.4512, allocations: 37.03 kB / 0.7025 GB, free: 5.941 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.4512, allocations: 0 / 0.7025 GB, free: 5.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.005353/0.4566, allocations: 2.631 MB / 0.7051 GB, free: 4.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.4566, allocations: 56.41 kB / 0.7051 GB, free: 4.496 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.4571, allocations: 460.8 kB / 0.7056 GB, free: 4.273 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.4571, allocations: 32.86 kB / 0.7056 GB, free: 4.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.4573, allocations: 346.9 kB / 0.7059 GB, free: 3.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.265e-05/0.4574, allocations: 142.6 kB / 0.7061 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.4575, allocations: 107 kB / 0.7062 GB, free: 3.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.4576, allocations: 367.3 kB / 0.7065 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.458, allocations: 237.9 kB / 0.7068 GB, free: 3.371 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.4584, allocations: 408.7 kB / 0.7072 GB, free: 3.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007995/0.4592, allocations: 0.676 MB / 0.7078 GB, free: 2.641 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4592, allocations: 5.312 kB / 0.7078 GB, free: 2.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001668/0.4609, allocations: 0.9149 MB / 0.7087 GB, free: 2.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4609, allocations: 8.656 kB / 0.7087 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.461, allocations: 5.844 kB / 0.7087 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007761/0.4617, allocations: 232.1 kB / 0.7089 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.4623, allocations: 111.6 kB / 0.7091 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004753/0.467, allocations: 5.344 MB / 0.7143 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.4676, allocations: 29.84 kB / 0.7143 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.4676, allocations: 22.69 kB / 0.7143 GB, free: 13.5 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.0003766/0.468, allocations: 225.9 kB / 0.7145 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4681, allocations: 64.83 kB / 0.7146 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.4697, allocations: 0.7757 MB / 0.7154 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4697, allocations: 3.469 kB / 0.7154 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4697, allocations: 1.969 kB / 0.7154 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4698, allocations: 7.141 kB / 0.7154 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.4722, allocations: 1.494 MB / 0.7168 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.4723, allocations: 2.188 kB / 0.7168 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.4726, allocations: 67.95 kB / 0.7169 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000674/0.4733, allocations: 210.9 kB / 0.7171 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.4734, allocations: 13.25 kB / 0.7171 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004827/0.4782, allocations: 5.271 MB / 0.7223 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4782, allocations: 2.562 kB / 0.7223 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.4801, allocations: 1.131 MB / 0.7234 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.4803, allocations: 171.7 kB / 0.7235 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.4804, allocations: 12.83 kB / 0.7235 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.4807, allocations: 24.05 kB / 0.7236 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.334e-05/0.4808, allocations: 43.58 kB / 0.7236 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.4809, allocations: 11.06 kB / 0.7236 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003722/0.4813, allocations: 314.2 kB / 0.7239 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.4813, allocations: 1.219 kB / 0.7239 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000732/0.482, allocations: 170.6 kB / 0.7241 GB, free: 6.547 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.0001545/0.4822, allocations: 117.3 kB / 0.7242 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.4839, allocations: 1.058 MB / 0.7252 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4839, allocations: 0 / 0.7252 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009821/0.4849, allocations: 0.6913 MB / 0.7259 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/0.4859, allocations: 184.1 kB / 0.7261 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.4881, allocations: 1.333 MB / 0.7274 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/0.4887, allocations: 0.9506 MB / 0.7283 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.4889, allocations: 40.66 kB / 0.7283 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.4889, allocations: 0 / 0.7283 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of Templates: time 0.02023/0.5091, allocations: 14.9 MB / 0.7429 GB, free: 12.33 MB / 0.5137 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)