Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000816/0.000816, allocations: 91.77 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.005591/0.005591, allocations: 170.7 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.435/1.435, 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.789/2.789, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 11.91 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3666, 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.ACSimpleGrid): time 0.005614/0.3723, allocations: 4.745 MB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004548/0.3768, allocations: 3.311 MB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.3771, allocations: 11.94 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.3776, allocations: 167 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007709/0.3784, allocations: 355.7 kB / 1.083 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.379, allocations: 246.9 kB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009911/0.38, allocations: 0.8645 MB / 1.084 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.3813, allocations: 0.829 MB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.3816, allocations: 219.2 kB / 1.085 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.382, allocations: 271 kB / 1.085 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.382, allocations: 16 kB / 1.085 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.3825, allocations: 331.4 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.3827, allocations: 147.6 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.3829, allocations: 228.6 kB / 1.086 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008428/0.3838, allocations: 0.8102 MB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3838, allocations: 0 / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3838, allocations: 0 / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3838, allocations: 0 / 1.086 GB, free: 10.94 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.001271/0.3851, allocations: 0.7209 MB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3851, allocations: 8.031 kB / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.3882, allocations: 0.6946 MB / 1.088 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007045/0.3889, allocations: 455.8 kB / 1.088 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.389, allocations: 21.03 kB / 1.088 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/0.389, allocations: 36.11 kB / 1.088 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.3908, allocations: 0.8551 MB / 1.089 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3908, allocations: 0 / 1.089 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.3908, allocations: 12 kB / 1.089 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001824/0.391, allocations: 56.59 kB / 1.089 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.3933, allocations: 0.9467 MB / 1.09 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.3973, allocations: 2.883 MB / 1.093 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3991, allocations: 0.576 MB / 1.093 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/0.3999, allocations: 325.2 kB / 1.094 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.4, allocations: 85.09 kB / 1.094 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4001, allocations: 38.56 kB / 1.094 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.4001, allocations: 0 / 1.094 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of matching and sorting (n=32): time 0.01393/0.414, allocations: 3.633 MB / 1.097 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.4141, allocations: 59.34 kB / 1.097 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.4146, allocations: 400.4 kB / 1.098 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.4147, allocations: 37.7 kB / 1.098 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.4149, allocations: 231.8 kB / 1.098 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.4151, allocations: 110.4 kB / 1.098 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.4152, allocations: 33.7 kB / 1.098 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4153, allocations: 350.8 kB / 1.099 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.4164, allocations: 407.6 kB / 1.099 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.4175, allocations: 476.2 kB / 1.099 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.4197, allocations: 0.8668 MB / 1.1 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4197, allocations: 4 kB / 1.1 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005853/0.4256, allocations: 1.709 MB / 1.102 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.84e-05/0.4257, allocations: 148 kB / 1.102 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4257, allocations: 0 / 1.102 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00437/0.4301, allocations: 0.9308 MB / 1.103 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.4308, allocations: 143.8 kB / 1.103 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008427/0.4392, allocations: 6.218 MB / 1.109 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009284/0.4402, allocations: 119.9 kB / 1.109 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.4402, allocations: 15.98 kB / 1.109 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.4402, allocations: 4 kB / 1.109 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005177/0.4454, allocations: 1.636 MB / 1.111 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4454, allocations: 4 kB / 1.111 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003035/0.4485, allocations: 0.69 MB / 1.112 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.4492, allocations: 135.8 kB / 1.112 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00588/0.4551, allocations: 5.328 MB / 1.117 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/0.4559, allocations: 111.9 kB / 1.117 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.456, allocations: 19.98 kB / 1.117 GB, free: 10.03 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 (32): * Single equations (assignments): 29 * 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): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000432/0.4564, allocations: 325.4 kB / 1.117 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.4566, allocations: 39.56 kB / 1.117 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005171/0.4618, allocations: 1.596 MB / 1.119 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4618, allocations: 7.938 kB / 1.119 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4618, allocations: 4 kB / 1.119 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.4618, allocations: 4 kB / 1.119 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005974/0.4678, allocations: 2.241 MB / 1.121 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4678, allocations: 0 / 1.121 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.4682, allocations: 91.83 kB / 1.121 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00386/0.4721, allocations: 0.8646 MB / 1.122 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.4721, allocations: 12 kB / 1.122 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007977/0.4801, allocations: 6.076 MB / 1.128 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4801, allocations: 0 / 1.128 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/0.4852, allocations: 1.585 MB / 1.13 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.4855, allocations: 176.5 kB / 1.13 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.4856, allocations: 11.94 kB / 1.13 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.4862, allocations: 91.86 kB / 1.13 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.4864, allocations: 31.89 kB / 1.13 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.4864, allocations: 15.98 kB / 1.13 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005032/0.487, allocations: 307.1 kB / 1.13 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.3e-07/0.487, allocations: 0 / 1.13 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00102/0.488, allocations: 236 kB / 1.13 GB, free: 11.78 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 (22): * Single equations (assignments): 19 * 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): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002525/0.4882, allocations: 115.2 kB / 1.131 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004951/0.4932, allocations: 2.233 MB / 1.133 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4932, allocations: 0 / 1.133 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.4948, allocations: 0.8165 MB / 1.134 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.4955, allocations: 115.5 kB / 1.134 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.4977, allocations: 1.338 MB / 1.135 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.4983, allocations: 0.9258 MB / 1.136 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005841/0.4989, allocations: 167.3 kB / 1.136 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.499, allocations: 35.41 kB / 1.136 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/0.499, allocations: 0 / 1.136 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of Templates: time 0.02281/0.5218, allocations: 13.97 MB / 1.15 GB, free: 7.918 MB / 0.9044 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)