Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.0008485, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007954/0.007954, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.514/1.514, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 8.656 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3554, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007065/0.3625, allocations: 4.815 MB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006247/0.3688, allocations: 3.755 MB / 1.083 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004871/0.3693, allocations: 11.94 kB / 1.083 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.3706, allocations: 231 kB / 1.083 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.3722, allocations: 411.9 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.373, allocations: 239.5 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.3746, allocations: 0.9151 MB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.3763, allocations: 0.8399 MB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006745/0.377, allocations: 291.1 kB / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00067/0.3776, allocations: 278.9 kB / 1.086 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.09e-05/0.3778, allocations: 20 kB / 1.086 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008854/0.3786, allocations: 327.4 kB / 1.086 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.3789, allocations: 143.5 kB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.3792, allocations: 236.5 kB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.3805, allocations: 0.8138 MB / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3805, allocations: 0 / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3805, allocations: 0 / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.486e-05/0.3805, allocations: 0 / 1.087 GB, free: 10.2 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001793/0.3823, allocations: 0.7286 MB / 1.088 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.3824, allocations: 12.03 kB / 1.088 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/0.3857, allocations: 0.7022 MB / 1.089 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.3866, allocations: 464.4 kB / 1.089 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.3867, allocations: 24.97 kB / 1.089 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.3868, allocations: 36.12 kB / 1.089 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.3886, allocations: 0.8434 MB / 1.09 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.3886, allocations: 0 / 1.09 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/0.3887, allocations: 15.98 kB / 1.09 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/0.3889, allocations: 64.58 kB / 1.09 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.3913, allocations: 0.9467 MB / 1.091 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/0.3961, allocations: 2.894 MB / 1.094 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.398, allocations: 0.5683 MB / 1.094 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008377/0.3988, allocations: 320.6 kB / 1.095 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.399, allocations: 89.09 kB / 1.095 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.399, allocations: 34.5 kB / 1.095 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.3991, allocations: 0 / 1.095 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.01608/0.4151, allocations: 4.026 MB / 1.099 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.4153, allocations: 59.41 kB / 1.099 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008086/0.4161, allocations: 429.5 kB / 1.099 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.909e-05/0.4162, allocations: 37.64 kB / 1.099 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.4165, allocations: 232.2 kB / 1.099 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.4166, allocations: 130 kB / 1.099 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.4168, allocations: 37.7 kB / 1.099 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4169, allocations: 350.8 kB / 1.1 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.418, allocations: 444.5 kB / 1.1 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.4192, allocations: 0.5126 MB / 1.101 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.4216, allocations: 0.954 MB / 1.102 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4216, allocations: 0 / 1.102 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006353/0.4279, allocations: 1.892 MB / 1.104 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.4281, allocations: 152.3 kB / 1.104 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.4282, allocations: 3.984 kB / 1.104 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004815/0.433, allocations: 1.02 MB / 1.105 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/0.4338, allocations: 139.8 kB / 1.105 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.4443, allocations: 6.191 MB / 1.111 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.4454, allocations: 119.9 kB / 1.111 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.958e-05/0.4455, allocations: 19.98 kB / 1.111 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4455, allocations: 5.719 kB / 1.111 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005338/0.4508, allocations: 1.601 MB / 1.113 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4509, allocations: 12.02 kB / 1.113 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00327/0.4542, allocations: 0.7431 MB / 1.113 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/0.4549, allocations: 147.8 kB / 1.113 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008636/0.4636, allocations: 5.409 MB / 1.119 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009449/0.4646, allocations: 111.9 kB / 1.119 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.967e-05/0.4647, allocations: 19.98 kB / 1.119 GB, free: 8.613 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005497/0.4652, allocations: 337.5 kB / 1.119 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.4654, allocations: 39.53 kB / 1.119 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005885/0.4713, allocations: 1.788 MB / 1.121 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.4713, allocations: 4 kB / 1.121 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4713, allocations: 4 kB / 1.121 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4713, allocations: 4 kB / 1.121 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006597/0.4779, allocations: 2.473 MB / 1.123 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.478, allocations: 0 / 1.123 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.4784, allocations: 75.91 kB / 1.123 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004033/0.4824, allocations: 0.9459 MB / 1.124 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.4825, allocations: 11.94 kB / 1.124 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009273/0.4918, allocations: 5.864 MB / 1.13 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4918, allocations: 4.031 kB / 1.13 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005321/0.4971, allocations: 1.735 MB / 1.132 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.4975, allocations: 196.5 kB / 1.132 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.4976, allocations: 7.938 kB / 1.132 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.4983, allocations: 91.86 kB / 1.132 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.4986, allocations: 39.89 kB / 1.132 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.4986, allocations: 15.98 kB / 1.132 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005707/0.4992, allocations: 323.1 kB / 1.132 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4992, allocations: 0 / 1.132 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001309/0.5005, allocations: 260 kB / 1.133 GB, free: 10 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002714/0.5008, allocations: 119.2 kB / 1.133 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006918/0.5077, allocations: 2.514 MB / 1.135 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.5077, allocations: 0 / 1.135 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002595/0.5103, allocations: 0.9732 MB / 1.136 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/0.5113, allocations: 123.4 kB / 1.136 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.5139, allocations: 1.439 MB / 1.138 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000797/0.5147, allocations: 0.9529 MB / 1.139 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006316/0.5154, allocations: 155.2 kB / 1.139 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.5155, allocations: 39.41 kB / 1.139 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of SimCode: time 9.12e-07/0.5155, allocations: 0 / 1.139 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of Templates: time 0.02662/0.5421, allocations: 15.77 MB / 1.154 GB, free: 3.875 MB / 0.9044 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)