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.00186/0.001859, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001894/0.001894, allocations: 189.4 kB / 16.14 MB, free: 6.656 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.048/3.048, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.95 kB / 0.9114 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3753, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01113/0.3865, allocations: 5.574 MB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006563/0.3931, allocations: 2.654 MB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007022/0.3938, allocations: 19.88 kB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.3966, allocations: 0.6461 MB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.3984, allocations: 382.1 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.4001, allocations: 362.3 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.402, allocations: 1.259 MB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.4031, allocations: 454.2 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006034/0.4037, allocations: 338.5 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007238/0.4045, allocations: 406.4 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.81e-05/0.4046, allocations: 32 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.4058, allocations: 443.1 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.4062, allocations: 235.3 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.4067, allocations: 334.3 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.4083, allocations: 0.9732 MB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4083, allocations: 0 / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of FrontEnd: time 5.14e-06/0.4083, allocations: 3.984 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.4084, allocations: 0 / 1.081 GB, free: 12.78 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.002466/0.4108, allocations: 0.9737 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001112/0.411, allocations: 12.03 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.4127, allocations: 191.9 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007923/0.4135, allocations: 498.3 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.4135, allocations: 41.36 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.4137, allocations: 64.44 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.415, allocations: 0.8279 MB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.415, allocations: 3.984 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.4151, allocations: 20 kB / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002312/0.4153, allocations: 64.95 kB / 1.084 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.4164, allocations: 0.5774 MB / 1.084 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005526/0.4219, allocations: 4.585 MB / 1.089 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.4224, allocations: 295.2 kB / 1.089 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.4228, allocations: 221.3 kB / 1.089 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.4228, allocations: 12.22 kB / 1.089 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.4228, allocations: 30.84 kB / 1.089 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.845e-06/0.4229, allocations: 4 kB / 1.089 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.00613/0.429, allocations: 2.638 MB / 1.092 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.4291, allocations: 55.41 kB / 1.092 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007581/0.4298, allocations: 466 kB / 1.093 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.4299, allocations: 29.7 kB / 1.093 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.4303, allocations: 339.7 kB / 1.093 GB, free: 176 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.4305, allocations: 149.9 kB / 1.093 GB, free: 24 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/0.4309, allocations: 106.3 kB / 1.093 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002424/0.4311, allocations: 370.7 kB / 1.093 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/0.4317, allocations: 241 kB / 1.094 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.4325, allocations: 410.4 kB / 1.094 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.4335, allocations: 0.674 MB / 1.095 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.4335, allocations: 0 / 1.095 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001806/0.4353, allocations: 0.9213 MB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4354, allocations: 8 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/0.4354, allocations: 8 kB / 1.096 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000976/0.4364, allocations: 226.7 kB / 1.096 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.4369, allocations: 111.8 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005664/0.4426, allocations: 4.943 MB / 1.101 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.4432, allocations: 31.97 kB / 1.101 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.4433, allocations: 27.98 kB / 1.101 GB, free: 7.387 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.0003899/0.4436, allocations: 222.2 kB / 1.101 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.4438, allocations: 55.34 kB / 1.101 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.4455, allocations: 0.7699 MB / 1.102 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4455, allocations: 4 kB / 1.102 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4456, allocations: 0 / 1.102 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.4456, allocations: 3.984 kB / 1.102 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.4483, allocations: 1.509 MB / 1.103 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4484, allocations: 0 / 1.103 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.4488, allocations: 63.95 kB / 1.103 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008604/0.4496, allocations: 210.5 kB / 1.104 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.4497, allocations: 12 kB / 1.104 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004963/0.4547, allocations: 4.864 MB / 1.108 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.4547, allocations: 7.969 kB / 1.108 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.4568, allocations: 1.143 MB / 1.11 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/0.4572, allocations: 168.5 kB / 1.11 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.4573, allocations: 16 kB / 1.11 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.4577, allocations: 28.09 kB / 1.11 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4579, allocations: 35.89 kB / 1.11 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.551e-05/0.4579, allocations: 16 kB / 1.11 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004882/0.4584, allocations: 318.9 kB / 1.11 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.91e-07/0.4584, allocations: 0 / 1.11 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008171/0.4593, allocations: 164 kB / 1.11 GB, free: 13.21 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.0002788/0.4596, allocations: 119.2 kB / 1.11 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.4615, allocations: 1.004 MB / 1.111 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4616, allocations: 0 / 1.111 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.4626, allocations: 0.6917 MB / 1.112 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4637, allocations: 164.7 kB / 1.112 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.4664, allocations: 1.516 MB / 1.114 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/0.4673, allocations: 0.9455 MB / 1.115 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005096/0.4678, allocations: 113 kB / 1.115 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.4679, allocations: 39.44 kB / 1.115 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of SimCode: time 1.032e-06/0.4679, allocations: 4 kB / 1.115 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of Templates: time 0.01925/0.4872, allocations: 8.532 MB / 1.123 GB, free: 32 kB / 0.8731 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)