Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 195 kB / 16.53 MB, free: 6.664 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.748/2.748, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 64.56 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3632, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.0162/0.3795, allocations: 11.84 MB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009697/0.3893, allocations: 5.508 MB / 1.085 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.3907, allocations: 39.81 kB / 1.085 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.3942, allocations: 1.035 MB / 1.086 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.3965, allocations: 0.6491 MB / 1.087 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.3992, allocations: 0.9191 MB / 1.088 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00312/0.4023, allocations: 2.462 MB / 1.09 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004841/0.4072, allocations: 3.589 MB / 1.094 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.4093, allocations: 1.099 MB / 1.095 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.4117, allocations: 1.207 MB / 1.096 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006902/0.4124, allocations: 232 kB / 1.096 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.4137, allocations: 0.5228 MB / 1.097 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008971/0.4146, allocations: 0.9084 MB / 1.097 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.4158, allocations: 0.9883 MB / 1.098 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003479/0.4193, allocations: 3.541 MB / 1.102 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4193, allocations: 0 / 1.102 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4193, allocations: 0 / 1.102 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.935e-05/0.4194, allocations: 0 / 1.102 GB, free: 7.762 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003722/0.4231, allocations: 1.932 MB / 1.104 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4231, allocations: 12.03 kB / 1.104 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.4257, allocations: 0.4906 MB / 1.104 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.4276, allocations: 1.097 MB / 1.105 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-05/0.4277, allocations: 115.4 kB / 1.105 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/0.428, allocations: 160 kB / 1.106 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.4324, allocations: 2.754 MB / 1.108 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/0.4325, allocations: 11.94 kB / 1.108 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.4327, allocations: 63.98 kB / 1.108 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003044/0.433, allocations: 139 kB / 1.109 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003776/0.4368, allocations: 2.307 MB / 1.111 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.4487, allocations: 10.48 MB / 1.121 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.45, allocations: 0.6039 MB / 1.122 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.4507, allocations: 392.6 kB / 1.122 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.4508, allocations: 89.09 kB / 1.122 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.4509, allocations: 46.44 kB / 1.122 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 2.204e-06/0.4509, allocations: 0 / 1.122 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of matching and sorting (n=52): time 0.02196/0.4729, allocations: 5.838 MB / 1.128 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.4729, allocations: 55.84 kB / 1.128 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.4743, allocations: 0.8905 MB / 1.129 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.4744, allocations: 37.7 kB / 1.129 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/0.475, allocations: 0.7499 MB / 1.129 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.4752, allocations: 185.5 kB / 1.13 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.4756, allocations: 194.4 kB / 1.13 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4758, allocations: 386.8 kB / 1.13 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.477, allocations: 0.6527 MB / 1.131 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.4784, allocations: 1.01 MB / 1.132 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/0.481, allocations: 1.67 MB / 1.133 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.4811, allocations: 4 kB / 1.133 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009008/0.4901, allocations: 3.12 MB / 1.137 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.4902, allocations: 17.56 kB / 1.137 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.4902, allocations: 12 kB / 1.137 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006999/0.4972, allocations: 1.649 MB / 1.138 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.4984, allocations: 231.7 kB / 1.138 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/0.5137, allocations: 10.59 MB / 1.149 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.5153, allocations: 171.6 kB / 1.149 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/0.5154, allocations: 43.98 kB / 1.149 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002466/0.5178, allocations: 1.314 MB / 1.15 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001397/0.5192, allocations: 0.9787 MB / 1.151 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002467/0.5217, allocations: 1.615 MB / 1.153 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.198e-05/0.5217, allocations: 7.984 kB / 1.153 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.009191/0.5309, allocations: 2.654 MB / 1.155 GB, free: 14.56 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.531, allocations: 16.06 kB / 1.155 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.531, allocations: 15.98 kB / 1.155 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004532/0.5356, allocations: 1.059 MB / 1.156 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.5367, allocations: 255.5 kB / 1.157 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007833/0.5446, allocations: 5.752 MB / 1.162 GB, free: 7.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.5461, allocations: 151.8 kB / 1.162 GB, free: 7.023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.5462, allocations: 51.92 kB / 1.162 GB, free: 6.973 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000382/0.5466, allocations: 240.6 kB / 1.163 GB, free: 6.73 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.5469, allocations: 79.06 kB / 1.163 GB, free: 6.652 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0079/0.5548, allocations: 2.575 MB / 1.165 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.5548, allocations: 4 kB / 1.165 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.5548, allocations: 4 kB / 1.165 GB, free: 4.047 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.5549, allocations: 3.984 kB / 1.165 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.5656, allocations: 4.456 MB / 1.17 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.5656, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.5661, allocations: 100.1 kB / 1.17 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/0.5723, allocations: 1.493 MB / 1.171 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.901e-05/0.5725, allocations: 11.94 kB / 1.171 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/0.5853, allocations: 10.15 MB / 1.181 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5854, allocations: 0 / 1.181 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007404/0.5928, allocations: 2.508 MB / 1.184 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005945/0.5934, allocations: 260.1 kB / 1.184 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.5936, allocations: 16 kB / 1.184 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008406/0.5944, allocations: 119.8 kB / 1.184 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.5947, allocations: 51.81 kB / 1.184 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.5947, allocations: 16 kB / 1.184 GB, free: 104 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001/0.5957, allocations: 0.6473 MB / 1.185 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5957, allocations: 0 / 1.185 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002154/0.5979, allocations: 0.5898 MB / 1.185 GB, free: 14.87 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.5981, allocations: 123.6 kB / 1.185 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005843/0.604, allocations: 3.259 MB / 1.189 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.604, allocations: 8.125 kB / 1.189 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.6059, allocations: 1.182 MB / 1.19 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.6072, allocations: 239.6 kB / 1.19 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/0.6125, allocations: 2.996 MB / 1.193 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/0.614, allocations: 1.622 MB / 1.194 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001383/0.6154, allocations: 498.2 kB / 1.195 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.6156, allocations: 59.42 kB / 1.195 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of SimCode: time 1.012e-06/0.6156, allocations: 3.938 kB / 1.195 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of Templates: time 0.03894/0.6545, allocations: 24.85 MB / 1.219 GB, free: 11.95 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)