Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0009805/0.0009805, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.008345/0.008346, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006006/0.000601, allocations: 13.25 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4003, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006289/0.4066, allocations: 5.15 MB / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004389/0.411, allocations: 2.615 MB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003857/0.4114, allocations: 23.81 kB / 1.082 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.4118, allocations: 99.14 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009199/0.4127, allocations: 386.2 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009297/0.4136, allocations: 379.3 kB / 1.083 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.4149, allocations: 1.252 MB / 1.084 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.4163, allocations: 0.7871 MB / 1.085 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004998/0.4168, allocations: 322.5 kB / 1.085 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005044/0.4173, allocations: 386.4 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.4174, allocations: 24 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007277/0.4181, allocations: 431.1 kB / 1.086 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.4183, allocations: 219.3 kB / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003204/0.4187, allocations: 339.9 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009902/0.4197, allocations: 0.9578 MB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4197, allocations: 7.922 kB / 1.087 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4197, allocations: 0 / 1.087 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.4197, allocations: 0 / 1.087 GB, free: 10.1 MB / 0.8419 GB 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.001417/0.4211, allocations: 0.853 MB / 1.088 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4212, allocations: 8.031 kB / 1.088 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.4225, allocations: 191.9 kB / 1.088 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.4233, allocations: 0.4906 MB / 1.089 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.4233, allocations: 33.38 kB / 1.089 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.4235, allocations: 60.45 kB / 1.089 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.4247, allocations: 0.8279 MB / 1.09 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.4247, allocations: 4 kB / 1.09 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.4248, allocations: 24 kB / 1.09 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.425, allocations: 64.94 kB / 1.09 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008693/0.4259, allocations: 0.5774 MB / 1.09 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004401/0.4303, allocations: 4.6 MB / 1.095 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.4308, allocations: 303.2 kB / 1.095 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.4311, allocations: 229.3 kB / 1.095 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.4311, allocations: 4.281 kB / 1.095 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.4312, allocations: 38.84 kB / 1.095 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.4312, allocations: 0 / 1.095 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005561/0.4368, allocations: 2.635 MB / 1.098 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.4368, allocations: 55.41 kB / 1.098 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/0.4373, allocations: 466 kB / 1.098 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.4374, allocations: 37.7 kB / 1.098 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.4376, allocations: 343.6 kB / 1.099 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.4377, allocations: 145.9 kB / 1.099 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.213e-05/0.4378, allocations: 53.69 kB / 1.099 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.438, allocations: 362.8 kB / 1.099 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.4383, allocations: 229 kB / 1.099 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.4388, allocations: 410.5 kB / 1.1 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008371/0.4396, allocations: 0.6779 MB / 1.1 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.4397, allocations: 4 kB / 1.1 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001584/0.4412, allocations: 0.9177 MB / 1.101 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.4413, allocations: 7.938 kB / 1.101 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4413, allocations: 12.03 kB / 1.101 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007774/0.4421, allocations: 222.4 kB / 1.102 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.4426, allocations: 115.8 kB / 1.102 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.4476, allocations: 4.939 MB / 1.107 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.4481, allocations: 31.97 kB / 1.107 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.4481, allocations: 24 kB / 1.107 GB, free: 4.883 MB / 0.8575 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.0003132/0.4484, allocations: 233.6 kB / 1.107 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.4485, allocations: 59.28 kB / 1.107 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.45, allocations: 0.766 MB / 1.108 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4501, allocations: 4 kB / 1.108 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4501, allocations: 4 kB / 1.108 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4501, allocations: 0 / 1.108 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.4525, allocations: 1.501 MB / 1.109 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.4525, allocations: 4.141 kB / 1.109 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.4529, allocations: 63.89 kB / 1.109 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006739/0.4536, allocations: 214.5 kB / 1.109 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.4536, allocations: 11.98 kB / 1.109 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/0.4582, allocations: 4.868 MB / 1.114 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4582, allocations: 0 / 1.114 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.46, allocations: 1.139 MB / 1.115 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.4603, allocations: 172.4 kB / 1.115 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.4603, allocations: 8 kB / 1.115 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.4607, allocations: 23.97 kB / 1.115 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4608, allocations: 47.89 kB / 1.115 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.4608, allocations: 12 kB / 1.116 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003536/0.4612, allocations: 314.9 kB / 1.116 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4612, allocations: 3.938 kB / 1.116 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007025/0.4619, allocations: 172 kB / 1.116 GB, free: 10.7 MB / 0.8731 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.0001746/0.4621, allocations: 111.9 kB / 1.116 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.4637, allocations: 1.008 MB / 1.117 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4637, allocations: 0 / 1.117 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009612/0.4647, allocations: 0.6879 MB / 1.118 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/0.4657, allocations: 163.8 kB / 1.118 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.4679, allocations: 1.565 MB / 1.119 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.4685, allocations: 0.9494 MB / 1.12 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000364/0.4688, allocations: 105 kB / 1.12 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.4689, allocations: 39.44 kB / 1.12 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.4689, allocations: 0 / 1.12 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of Templates: time 0.01466/0.4836, allocations: 8.419 MB / 1.129 GB, free: 13.61 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)