Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001447/0.001447, allocations: 193.4 kB / 16.14 MB, free: 6.688 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 472.6 MB / 0.7447 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 62.03 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4074, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00939/0.4168, allocations: 6.817 MB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005185/0.422, allocations: 3.079 MB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.4224, allocations: 23.81 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.4246, allocations: 0.8874 MB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.4256, allocations: 485.7 kB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4267, allocations: 402.7 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.4282, allocations: 1.591 MB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009749/0.4292, allocations: 0.6484 MB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006022/0.4298, allocations: 430.2 kB / 1.082 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.4304, allocations: 0.5215 MB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-05/0.4305, allocations: 44 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008465/0.4313, allocations: 451.1 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.4316, allocations: 287.2 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004249/0.4321, allocations: 437.7 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.4333, allocations: 1.211 MB / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4333, allocations: 0 / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.31e-07/0.4333, allocations: 0 / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.4334, allocations: 0 / 1.084 GB, free: 9.539 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001969/0.4353, allocations: 1.165 MB / 1.086 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4354, allocations: 12.03 kB / 1.086 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.4369, allocations: 231.6 kB / 1.086 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008358/0.4378, allocations: 0.5568 MB / 1.086 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.4378, allocations: 57.67 kB / 1.086 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.4379, allocations: 64.36 kB / 1.086 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.4396, allocations: 1.085 MB / 1.087 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.4396, allocations: 3.938 kB / 1.087 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/0.4397, allocations: 31.98 kB / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.4399, allocations: 85.25 kB / 1.088 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.4411, allocations: 0.7543 MB / 1.088 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006148/0.4472, allocations: 5.893 MB / 1.094 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.4484, allocations: 0.5632 MB / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.4488, allocations: 326 kB / 1.095 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.4489, allocations: 4.438 kB / 1.095 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.4489, allocations: 43 kB / 1.095 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 2.394e-06/0.4489, allocations: 0 / 1.095 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.003861/0.4528, allocations: 1.99 MB / 1.097 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.4529, allocations: 59.78 kB / 1.097 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/0.4535, allocations: 0.5587 MB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.4536, allocations: 37.69 kB / 1.098 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.4539, allocations: 414.9 kB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.454, allocations: 173.6 kB / 1.098 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.4543, allocations: 126.5 kB / 1.098 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.4545, allocations: 382.6 kB / 1.099 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.4549, allocations: 269.8 kB / 1.099 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/0.4555, allocations: 0.4892 MB / 1.099 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.4566, allocations: 0.8133 MB / 1.1 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4566, allocations: 0 / 1.1 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001877/0.4585, allocations: 1.083 MB / 1.101 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.4585, allocations: 8.125 kB / 1.101 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.4586, allocations: 15.94 kB / 1.101 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000886/0.4595, allocations: 279.1 kB / 1.101 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.46, allocations: 127.8 kB / 1.102 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007232/0.4672, allocations: 6.599 MB / 1.108 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/0.4679, allocations: 35.97 kB / 1.108 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.4679, allocations: 28 kB / 1.108 GB, free: 15.67 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0004391/0.4684, allocations: 261.5 kB / 1.108 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.4685, allocations: 75.16 kB / 1.108 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.4702, allocations: 0.8847 MB / 1.109 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4702, allocations: 4 kB / 1.109 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4702, allocations: 4 kB / 1.109 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4702, allocations: 4 kB / 1.109 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.473, allocations: 1.72 MB / 1.111 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.473, allocations: 3.938 kB / 1.111 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.4733, allocations: 60.02 kB / 1.111 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007461/0.474, allocations: 275.3 kB / 1.111 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.4741, allocations: 4 kB / 1.111 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006701/0.4808, allocations: 6.592 MB / 1.118 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.4808, allocations: 8.016 kB / 1.118 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.4825, allocations: 0.9834 MB / 1.119 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.4829, allocations: 192.2 kB / 1.119 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.483, allocations: 11.94 kB / 1.119 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.4834, allocations: 39.89 kB / 1.119 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.4835, allocations: 39.89 kB / 1.119 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.4836, allocations: 16 kB / 1.119 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005271/0.4841, allocations: 391.1 kB / 1.119 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4841, allocations: 0 / 1.119 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001034/0.4852, allocations: 224 kB / 1.12 GB, free: 3.184 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002052/0.4854, allocations: 123 kB / 1.12 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00217/0.4875, allocations: 1.271 MB / 1.121 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4876, allocations: 0 / 1.121 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.4888, allocations: 0.8855 MB / 1.122 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.4899, allocations: 202.7 kB / 1.122 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.4927, allocations: 1.644 MB / 1.124 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.4934, allocations: 1.012 MB / 1.125 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006366/0.494, allocations: 130 kB / 1.125 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.4942, allocations: 43.44 kB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of SimCode: time 7.61e-07/0.4942, allocations: 0 / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of Templates: time 0.02064/0.5149, allocations: 10.79 MB / 1.135 GB, free: 3.031 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)