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.001131/0.001132, allocations: 90.52 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.0086/0.0086, allocations: 171.1 kB / 16.26 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 473.4 MB / 0.7469 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.000445, allocations: 11.19 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.376, allocations: 162.2 MB / 1.074 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006034/0.3821, allocations: 5.154 MB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004134/0.3863, allocations: 2.611 MB / 1.082 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003496/0.3866, allocations: 23.81 kB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.3869, allocations: 103.1 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008919/0.3878, allocations: 382.2 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.3887, allocations: 378.7 kB / 1.083 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.3899, allocations: 1.252 MB / 1.084 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.3912, allocations: 0.7987 MB / 1.085 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.3916, allocations: 322.5 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.3921, allocations: 386.4 kB / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.3922, allocations: 24 kB / 1.085 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006646/0.3928, allocations: 427.1 kB / 1.086 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.3931, allocations: 223.3 kB / 1.086 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.3934, allocations: 343.9 kB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008944/0.3943, allocations: 0.9539 MB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3943, allocations: 3.938 kB / 1.087 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3943, allocations: 0 / 1.087 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.3943, allocations: 4 kB / 1.087 GB, free: 10.06 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.00134/0.3956, allocations: 0.8491 MB / 1.088 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3957, allocations: 8.031 kB / 1.088 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.397, allocations: 199.9 kB / 1.088 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.3977, allocations: 498.4 kB / 1.089 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.3978, allocations: 33.38 kB / 1.089 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.3979, allocations: 56.45 kB / 1.089 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.3991, allocations: 0.8318 MB / 1.09 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.3991, allocations: 4 kB / 1.09 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/0.3992, allocations: 24 kB / 1.09 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/0.3994, allocations: 64.94 kB / 1.09 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008828/0.4002, allocations: 0.5735 MB / 1.09 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/0.4046, allocations: 4.604 MB / 1.095 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.4051, allocations: 303.2 kB / 1.095 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.4054, allocations: 225.3 kB / 1.095 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.4055, allocations: 4.281 kB / 1.095 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.4055, allocations: 38.84 kB / 1.095 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.4055, allocations: 0 / 1.095 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005548/0.4111, allocations: 2.627 MB / 1.098 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4111, allocations: 59.41 kB / 1.098 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.4116, allocations: 466 kB / 1.098 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.4117, allocations: 33.7 kB / 1.098 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.4119, allocations: 347.6 kB / 1.099 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.412, allocations: 145.9 kB / 1.099 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.4121, allocations: 53.69 kB / 1.099 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4123, allocations: 358.8 kB / 1.099 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.4126, allocations: 241 kB / 1.099 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.4131, allocations: 406.5 kB / 1.1 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008916/0.414, allocations: 0.6779 MB / 1.1 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.414, allocations: 0 / 1.1 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00165/0.4157, allocations: 0.9215 MB / 1.101 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4157, allocations: 15.97 kB / 1.101 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4157, allocations: 4 kB / 1.101 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007761/0.4165, allocations: 226.4 kB / 1.102 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.417, allocations: 115.8 kB / 1.102 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004824/0.4219, allocations: 4.939 MB / 1.107 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.4223, allocations: 27.97 kB / 1.107 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.4224, allocations: 28.05 kB / 1.107 GB, free: 4.84 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.0003185/0.4227, allocations: 230.2 kB / 1.107 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.642e-05/0.4228, allocations: 63.28 kB / 1.107 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.4244, allocations: 0.766 MB / 1.108 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4244, allocations: 4 kB / 1.108 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4244, allocations: 4 kB / 1.108 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.4244, allocations: 4.125 kB / 1.108 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.4268, allocations: 1.498 MB / 1.109 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4268, allocations: 4 kB / 1.109 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.4272, allocations: 63.89 kB / 1.109 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006972/0.4279, allocations: 210.5 kB / 1.109 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.4279, allocations: 12 kB / 1.109 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004725/0.4326, allocations: 4.872 MB / 1.114 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4327, allocations: 8.047 kB / 1.114 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.4345, allocations: 1.127 MB / 1.115 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.4347, allocations: 168.4 kB / 1.115 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.4348, allocations: 12 kB / 1.115 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.4351, allocations: 28.03 kB / 1.115 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.4352, allocations: 39.83 kB / 1.115 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.4353, allocations: 12 kB / 1.116 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003726/0.4357, allocations: 318.9 kB / 1.116 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4357, allocations: 3.938 kB / 1.116 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000803/0.4365, allocations: 168 kB / 1.116 GB, free: 10.66 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.00019/0.4367, allocations: 115.2 kB / 1.116 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.4383, allocations: 1.008 MB / 1.117 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4384, allocations: 128 / 1.117 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009517/0.4393, allocations: 0.6878 MB / 1.118 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.4403, allocations: 162.4 kB / 1.118 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4426, allocations: 1.568 MB / 1.119 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.4433, allocations: 0.9494 MB / 1.12 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003683/0.4436, allocations: 105 kB / 1.12 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.4437, allocations: 39.44 kB / 1.12 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of SimCode: time 9.208e-06/0.4438, allocations: 4 kB / 1.12 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of Templates: time 0.01491/0.4587, allocations: 8.417 MB / 1.129 GB, free: 13.56 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)