Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001573/0.001573, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002059/0.002059, allocations: 190.8 kB / 16.25 MB, free: 6.629 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: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.739/2.739, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.23 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.375, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008086/0.3831, allocations: 5.575 MB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004821/0.388, allocations: 2.619 MB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004681/0.3885, allocations: 23.88 kB / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.3903, allocations: 0.6422 MB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.3916, allocations: 382.1 kB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.3927, allocations: 371.3 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.3938, allocations: 0.9514 MB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007882/0.3946, allocations: 0.522 MB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004927/0.3951, allocations: 370.6 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005108/0.3957, allocations: 418.4 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.3958, allocations: 48 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006621/0.3965, allocations: 367.2 kB / 1.08 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.3967, allocations: 251.3 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003468/0.3971, allocations: 342.3 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.3982, allocations: 1.004 MB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3982, allocations: 0 / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3982, allocations: 3.938 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.3982, allocations: 0 / 1.081 GB, free: 12.9 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.001705/0.3999, allocations: 0.9698 MB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4, allocations: 16.03 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.4014, allocations: 195.8 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007466/0.4021, allocations: 490.4 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.4022, allocations: 41.36 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.4023, allocations: 60.44 kB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.4037, allocations: 0.8279 MB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.4037, allocations: 4 kB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.4038, allocations: 23.98 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.404, allocations: 64.89 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008485/0.4048, allocations: 0.5736 MB / 1.084 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005153/0.41, allocations: 4.581 MB / 1.089 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.4105, allocations: 299.3 kB / 1.089 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.4108, allocations: 233.2 kB / 1.089 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.4109, allocations: 4.281 kB / 1.089 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.4109, allocations: 42.83 kB / 1.089 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.956e-06/0.4109, allocations: 0 / 1.089 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005542/0.4165, allocations: 2.63 MB / 1.092 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.4165, allocations: 55.41 kB / 1.092 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/0.417, allocations: 466 kB / 1.092 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.4171, allocations: 29.7 kB / 1.092 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.4173, allocations: 355.6 kB / 1.093 GB, free: 284 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.4174, allocations: 145.9 kB / 1.093 GB, free: 136 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.4176, allocations: 102.2 kB / 1.093 GB, free: 28 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4178, allocations: 362.8 kB / 1.093 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.4181, allocations: 241 kB / 1.094 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.4186, allocations: 410.4 kB / 1.094 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008466/0.4194, allocations: 0.674 MB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4194, allocations: 0 / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001723/0.4212, allocations: 0.921 MB / 1.096 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4212, allocations: 8 kB / 1.096 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.4212, allocations: 4 kB / 1.096 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009051/0.4222, allocations: 231 kB / 1.096 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.4227, allocations: 111.8 kB / 1.096 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/0.4289, allocations: 5.343 MB / 1.101 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.4295, allocations: 32.03 kB / 1.101 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.4296, allocations: 27.98 kB / 1.101 GB, free: 7.094 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.0003874/0.43, allocations: 222.3 kB / 1.101 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.4301, allocations: 63.22 kB / 1.101 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.4316, allocations: 0.7698 MB / 1.102 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.4317, allocations: 4 kB / 1.102 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4317, allocations: 4.141 kB / 1.102 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4317, allocations: 7.969 kB / 1.102 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.4341, allocations: 1.502 MB / 1.104 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4341, allocations: 4 kB / 1.104 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.4345, allocations: 63.89 kB / 1.104 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006757/0.4352, allocations: 210.6 kB / 1.104 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.4352, allocations: 12 kB / 1.104 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005226/0.4404, allocations: 5.265 MB / 1.109 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4405, allocations: 7.938 kB / 1.109 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.4423, allocations: 1.139 MB / 1.11 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/0.4426, allocations: 176.4 kB / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.4427, allocations: 15.94 kB / 1.11 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.443, allocations: 23.97 kB / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.895e-05/0.4431, allocations: 40.02 kB / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.4432, allocations: 8 kB / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003746/0.4435, allocations: 318.9 kB / 1.111 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.563e-06/0.4436, allocations: 0 / 1.111 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007128/0.4443, allocations: 171.9 kB / 1.111 GB, free: 12.48 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.0001776/0.4445, allocations: 111.2 kB / 1.111 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.4462, allocations: 1.063 MB / 1.112 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4463, allocations: 0 / 1.112 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009252/0.4472, allocations: 0.676 MB / 1.113 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008817/0.4481, allocations: 176.3 kB / 1.113 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.4503, allocations: 1.516 MB / 1.114 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.451, allocations: 0.9533 MB / 1.115 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003713/0.4514, allocations: 117 kB / 1.115 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.689e-05/0.4515, allocations: 39.44 kB / 1.116 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.4515, allocations: 0 / 1.116 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of Templates: time 0.01529/0.4668, allocations: 8.914 MB / 1.124 GB, free: 14.88 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)