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.0009938/0.0009938, allocations: 91.53 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.008421/0.008421, allocations: 171.3 kB / 16.26 MB, free: 6.676 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.575/1.575, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 11.91 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3843, allocations: 162.2 MB / 1.074 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008025/0.3923, allocations: 6.389 MB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005738/0.3981, allocations: 3.032 MB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009587/0.3991, allocations: 23.81 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000465/0.3996, allocations: 130.9 kB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.401, allocations: 481.6 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.4025, allocations: 406.3 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001985/0.4045, allocations: 1.591 MB / 1.086 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/0.4065, allocations: 1.016 MB / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008253/0.4074, allocations: 390.3 kB / 1.087 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007766/0.4082, allocations: 0.4941 MB / 1.088 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.953e-05/0.4083, allocations: 36 kB / 1.088 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009946/0.4093, allocations: 443 kB / 1.088 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003145/0.4096, allocations: 267.2 kB / 1.088 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.4101, allocations: 435.4 kB / 1.089 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.4114, allocations: 1.187 MB / 1.09 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.4114, allocations: 4 kB / 1.09 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.235e-06/0.4114, allocations: 0 / 1.09 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.4114, allocations: 0 / 1.09 GB, free: 7.113 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.001749/0.4132, allocations: 1.001 MB / 1.091 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.4132, allocations: 12.03 kB / 1.091 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.4147, allocations: 243.5 kB / 1.091 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008349/0.4156, allocations: 0.5609 MB / 1.092 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.4156, allocations: 45.69 kB / 1.092 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.4158, allocations: 64.36 kB / 1.092 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.4172, allocations: 1.093 MB / 1.093 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.4172, allocations: 7.938 kB / 1.093 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.4173, allocations: 28 kB / 1.093 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/0.4175, allocations: 89.25 kB / 1.093 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.4186, allocations: 0.7504 MB / 1.094 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005123/0.4237, allocations: 5.905 MB / 1.1 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.4247, allocations: 0.5555 MB / 1.1 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/0.4252, allocations: 326 kB / 1.1 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.4252, allocations: 4.438 kB / 1.1 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.4252, allocations: 42.94 kB / 1.1 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 2.855e-06/0.4253, allocations: 4 kB / 1.1 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.003843/0.4291, allocations: 1.998 MB / 1.102 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.4292, allocations: 55.84 kB / 1.102 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/0.4298, allocations: 0.5626 MB / 1.103 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.4298, allocations: 33.7 kB / 1.103 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.4301, allocations: 422.9 kB / 1.103 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.4303, allocations: 173.5 kB / 1.104 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.4304, allocations: 57.69 kB / 1.104 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4305, allocations: 378.7 kB / 1.104 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.4309, allocations: 277.8 kB / 1.104 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/0.4315, allocations: 493 kB / 1.105 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009974/0.4325, allocations: 0.8093 MB / 1.106 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4325, allocations: 0 / 1.106 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001777/0.4343, allocations: 1.083 MB / 1.107 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.4343, allocations: 8 kB / 1.107 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.4343, allocations: 8 kB / 1.107 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008599/0.4352, allocations: 279.6 kB / 1.107 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.4357, allocations: 127.8 kB / 1.107 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0058/0.4415, allocations: 6.614 MB / 1.114 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006098/0.4421, allocations: 44.02 kB / 1.114 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.4422, allocations: 32 kB / 1.114 GB, free: 13.43 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.0003693/0.4426, allocations: 249.5 kB / 1.114 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.4427, allocations: 71.16 kB / 1.114 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.4442, allocations: 0.8925 MB / 1.115 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4442, allocations: 11.94 kB / 1.115 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4442, allocations: 4 kB / 1.115 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4443, allocations: 3.984 kB / 1.115 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.447, allocations: 1.713 MB / 1.116 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.447, allocations: 8.125 kB / 1.116 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.4472, allocations: 71.88 kB / 1.117 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007389/0.448, allocations: 259.4 kB / 1.117 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.448, allocations: 12 kB / 1.117 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005972/0.454, allocations: 6.591 MB / 1.123 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.454, allocations: 4.031 kB / 1.123 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.4555, allocations: 0.9875 MB / 1.124 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.4558, allocations: 192.2 kB / 1.124 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/0.4559, allocations: 19.92 kB / 1.124 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.4562, allocations: 27.97 kB / 1.124 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/0.4563, allocations: 39.94 kB / 1.124 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.4564, allocations: 16 kB / 1.124 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004106/0.4568, allocations: 387.1 kB / 1.125 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4568, allocations: 4 kB / 1.125 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007916/0.4576, allocations: 228 kB / 1.125 GB, free: 0.9492 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.0001593/0.4577, allocations: 112.5 kB / 1.125 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001908/0.4597, allocations: 1.271 MB / 1.126 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4597, allocations: 4 kB / 1.126 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.4608, allocations: 0.8893 MB / 1.127 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.462, allocations: 205.5 kB / 1.127 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.4642, allocations: 1.67 MB / 1.129 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.4648, allocations: 1.02 MB / 1.13 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003764/0.4652, allocations: 118 kB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.4653, allocations: 39.44 kB / 1.13 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of SimCode: time 5.51e-07/0.4654, allocations: 0 / 1.13 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of Templates: time 0.01744/0.4828, allocations: 10.63 MB / 1.141 GB, free: 0.9258 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)