Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001775/0.001776, allocations: 198.5 kB / 16.14 MB, free: 6.695 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 58.75 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3459, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.0147/0.3607, allocations: 11.92 MB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.371, allocations: 5.712 MB / 1.085 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.3726, allocations: 39.81 kB / 1.085 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003126/0.3757, allocations: 0.9721 MB / 1.086 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.3779, allocations: 0.6301 MB / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.3805, allocations: 0.8924 MB / 1.087 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004337/0.3849, allocations: 3.765 MB / 1.091 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006377/0.3912, allocations: 4.053 MB / 1.095 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.3936, allocations: 0.9929 MB / 1.096 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/0.3961, allocations: 1.336 MB / 1.097 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007216/0.3969, allocations: 164 kB / 1.097 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.3987, allocations: 0.5578 MB / 1.098 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.4002, allocations: 0.8458 MB / 1.099 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.4024, allocations: 0.9529 MB / 1.1 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004856/0.4073, allocations: 3.794 MB / 1.103 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4073, allocations: 0 / 1.103 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4073, allocations: 0 / 1.103 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001195/0.4074, allocations: 0 / 1.103 GB, free: 6.141 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005592/0.413, allocations: 2.086 MB / 1.105 GB, free: 4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4131, allocations: 12.03 kB / 1.105 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/0.4168, allocations: 0.7323 MB / 1.106 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.42, allocations: 1.197 MB / 1.107 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.4202, allocations: 127.6 kB / 1.107 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007237/0.4209, allocations: 156.1 kB / 1.107 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006746/0.4277, allocations: 2.96 MB / 1.11 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.375e-05/0.4277, allocations: 7.844 kB / 1.11 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003358/0.4281, allocations: 67.98 kB / 1.11 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003651/0.4285, allocations: 171.1 kB / 1.111 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004791/0.4333, allocations: 2.518 MB / 1.113 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.4489, allocations: 10.84 MB / 1.124 GB, free: 220 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.4506, allocations: 0.951 MB / 1.125 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007789/0.4514, allocations: 0.5012 MB / 1.125 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.4516, allocations: 101.5 kB / 1.125 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.4516, allocations: 34.94 kB / 1.125 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=46): time 3.116e-06/0.4517, allocations: 0 / 1.125 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70): time 0.03105/0.4827, allocations: 8.063 MB / 1.133 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.4828, allocations: 59.97 kB / 1.133 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.4844, allocations: 0.9259 MB / 1.134 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.4845, allocations: 41.7 kB / 1.134 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005487/0.4851, allocations: 0.7697 MB / 1.135 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.4853, allocations: 244.5 kB / 1.135 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004292/0.4858, allocations: 218.7 kB / 1.135 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.486, allocations: 406.7 kB / 1.136 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.4875, allocations: 0.8023 MB / 1.136 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.4891, allocations: 1.147 MB / 1.138 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/0.4924, allocations: 2.001 MB / 1.14 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.4924, allocations: 4 kB / 1.14 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01047/0.5029, allocations: 3.662 MB / 1.143 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.5029, allocations: 12 kB / 1.143 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.5029, allocations: 8 kB / 1.143 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008347/0.5113, allocations: 1.904 MB / 1.145 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.5124, allocations: 239.5 kB / 1.145 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/0.5292, allocations: 9.797 MB / 1.155 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.531, allocations: 179.7 kB / 1.155 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.5312, allocations: 47.98 kB / 1.155 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002776/0.534, allocations: 1.525 MB / 1.156 GB, free: 13.79 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001764/0.5358, allocations: 1.124 MB / 1.158 GB, free: 12.52 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003179/0.539, allocations: 1.947 MB / 1.159 GB, free: 10.42 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.098e-05/0.539, allocations: 4 kB / 1.159 GB, free: 10.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.008765/0.5478, allocations: 3.1 MB / 1.163 GB, free: 7.301 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.5479, allocations: 12 kB / 1.163 GB, free: 7.289 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.5479, allocations: 8 kB / 1.163 GB, free: 7.281 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00539/0.5533, allocations: 1.207 MB / 1.164 GB, free: 6.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.555, allocations: 283.5 kB / 1.164 GB, free: 5.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008765/0.5638, allocations: 5.411 MB / 1.169 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.5654, allocations: 171.8 kB / 1.169 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.5656, allocations: 44.09 kB / 1.169 GB, free: 32 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004738/0.5661, allocations: 251.9 kB / 1.17 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.5664, allocations: 86.97 kB / 1.17 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009589/0.576, allocations: 3.168 MB / 1.173 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.576, allocations: 8 kB / 1.173 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.576, allocations: 4 kB / 1.173 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.576, allocations: 3.984 kB / 1.173 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.5887, allocations: 5.274 MB / 1.178 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.5888, allocations: 3.984 kB / 1.178 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.5892, allocations: 103.8 kB / 1.178 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007161/0.5964, allocations: 1.716 MB / 1.18 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.5965, allocations: 16 kB / 1.18 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.6108, allocations: 9.209 MB / 1.189 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.6108, allocations: 4 kB / 1.189 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008448/0.6193, allocations: 3.022 MB / 1.192 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007486/0.6201, allocations: 316 kB / 1.192 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/0.6204, allocations: 19.94 kB / 1.192 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.6216, allocations: 135.8 kB / 1.192 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/0.622, allocations: 60.42 kB / 1.192 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.784e-05/0.6221, allocations: 24 kB / 1.192 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001307/0.6234, allocations: 0.6824 MB / 1.193 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6234, allocations: 0 / 1.193 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002858/0.6262, allocations: 0.6914 MB / 1.194 GB, free: 6.77 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): 40 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003446/0.6266, allocations: 119.1 kB / 1.194 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007425/0.634, allocations: 3.53 MB / 1.197 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.6341, allocations: 0 / 1.197 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.6364, allocations: 1.243 MB / 1.198 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.638, allocations: 268.5 kB / 1.199 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008008/0.6461, allocations: 4.161 MB / 1.203 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/0.6483, allocations: 1.73 MB / 1.204 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001635/0.6499, allocations: 0.5264 MB / 1.205 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.6502, allocations: 59.42 kB / 1.205 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of SimCode: time 1.032e-06/0.6502, allocations: 0 / 1.205 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.04893/0.6991, allocations: 30.56 MB / 1.235 GB, free: 12.59 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)