Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008696/0.0008696, allocations: 91.84 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.00626/0.00626, allocations: 170 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 10.38 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3617, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007735/0.3695, allocations: 4.811 MB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006537/0.3761, allocations: 3.747 MB / 1.083 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004842/0.3766, allocations: 7.938 kB / 1.083 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.3778, allocations: 235 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.3793, allocations: 426.2 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008143/0.3802, allocations: 239.5 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.3818, allocations: 0.9035 MB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.3833, allocations: 0.8488 MB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006245/0.384, allocations: 299 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.3846, allocations: 270.9 kB / 1.086 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.3847, allocations: 20 kB / 1.086 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006733/0.3854, allocations: 327.4 kB / 1.086 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.3856, allocations: 139.5 kB / 1.086 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.3859, allocations: 236.6 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.387, allocations: 0.8216 MB / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.387, allocations: 0 / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.114e-06/0.387, allocations: 0 / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.3871, allocations: 0 / 1.087 GB, free: 10.16 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.001632/0.3887, allocations: 0.7248 MB / 1.088 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3887, allocations: 8.031 kB / 1.088 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003142/0.3919, allocations: 0.7061 MB / 1.089 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3929, allocations: 464.3 kB / 1.089 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.393, allocations: 21.03 kB / 1.089 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.3931, allocations: 40.11 kB / 1.089 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.395, allocations: 0.8473 MB / 1.09 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.395, allocations: 0 / 1.09 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.3951, allocations: 12 kB / 1.09 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.3953, allocations: 64.58 kB / 1.09 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.3977, allocations: 0.9468 MB / 1.091 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004629/0.4023, allocations: 2.894 MB / 1.094 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.4042, allocations: 0.5722 MB / 1.094 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.405, allocations: 312.6 kB / 1.095 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.4051, allocations: 93.09 kB / 1.095 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.4052, allocations: 34.56 kB / 1.095 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.4052, allocations: 0 / 1.095 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.01529/0.4205, allocations: 4.022 MB / 1.099 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.4206, allocations: 59.34 kB / 1.099 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.4212, allocations: 425.5 kB / 1.099 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.4212, allocations: 37.7 kB / 1.099 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.4214, allocations: 240.2 kB / 1.099 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.4216, allocations: 130.1 kB / 1.099 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-05/0.4217, allocations: 37.7 kB / 1.099 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4218, allocations: 350.8 kB / 1.1 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.423, allocations: 440.5 kB / 1.1 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.4241, allocations: 0.5126 MB / 1.101 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.4265, allocations: 0.954 MB / 1.102 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.4265, allocations: 0 / 1.102 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006471/0.433, allocations: 1.893 MB / 1.104 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.4332, allocations: 152.1 kB / 1.104 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.4332, allocations: 4 kB / 1.104 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004691/0.4379, allocations: 1.02 MB / 1.105 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/0.4386, allocations: 139.8 kB / 1.105 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.4493, allocations: 6.198 MB / 1.111 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/0.4503, allocations: 119.9 kB / 1.111 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.4504, allocations: 19.98 kB / 1.111 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.4504, allocations: 4 kB / 1.111 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005229/0.4556, allocations: 1.605 MB / 1.113 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4556, allocations: 0 / 1.113 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003314/0.459, allocations: 0.7469 MB / 1.113 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.4597, allocations: 143.8 kB / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008379/0.4681, allocations: 5.414 MB / 1.119 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.4691, allocations: 107.8 kB / 1.119 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.781e-05/0.4692, allocations: 19.98 kB / 1.119 GB, free: 8.578 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.0006142/0.4699, allocations: 336.9 kB / 1.119 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.47, allocations: 43.52 kB / 1.119 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005791/0.4758, allocations: 1.792 MB / 1.121 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.4759, allocations: 4 kB / 1.121 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4759, allocations: 4 kB / 1.121 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4759, allocations: 0 / 1.121 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00653/0.4824, allocations: 2.465 MB / 1.123 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4824, allocations: 0 / 1.123 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.4829, allocations: 87.98 kB / 1.123 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004089/0.487, allocations: 0.9494 MB / 1.124 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.487, allocations: 8 kB / 1.124 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009273/0.4963, allocations: 5.852 MB / 1.13 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4963, allocations: 64 / 1.13 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005415/0.5018, allocations: 1.747 MB / 1.132 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.5022, allocations: 184.6 kB / 1.132 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.5023, allocations: 11.94 kB / 1.132 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/0.503, allocations: 95.84 kB / 1.132 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.5032, allocations: 32.52 kB / 1.132 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/0.5033, allocations: 15.98 kB / 1.132 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006173/0.5039, allocations: 331.1 kB / 1.132 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of sort global known variables: time 6.01e-07/0.5039, allocations: 3.938 kB / 1.132 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001471/0.5054, allocations: 260 kB / 1.133 GB, free: 9.961 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.0002865/0.5057, allocations: 111.2 kB / 1.133 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.007055/0.5128, allocations: 2.518 MB / 1.135 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5128, allocations: 0 / 1.135 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00256/0.5154, allocations: 0.9732 MB / 1.136 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/0.5163, allocations: 123.4 kB / 1.136 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.5191, allocations: 1.44 MB / 1.138 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/0.5199, allocations: 0.9529 MB / 1.139 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006566/0.5206, allocations: 151.2 kB / 1.139 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.5207, allocations: 35.41 kB / 1.139 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of SimCode: time 1.052e-06/0.5207, allocations: 0 / 1.139 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of Templates: time 0.02874/0.5495, allocations: 15.78 MB / 1.154 GB, free: 3.844 MB / 0.9044 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)