Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.522/2.522, allocations: 253.2 MB / 260.6 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 185.6 kB / 319.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.6 MB / 0.5708 GB, free: 15.26 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 96.89 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.11e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2209, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9901/1.211, allocations: 186.3 MB / 1.071 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003706/1.212, allocations: 93.91 kB / 1.071 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2701/1.482, allocations: 66.08 MB / 1.135 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/1.482, allocations: 0 / 1.135 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001603/1.482, allocations: 39.94 kB / 1.135 GB, free: 8.68 MB / 0.7448 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.007315/1.489, allocations: 1.675 MB / 1.137 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/1.489, allocations: 16.02 kB / 1.137 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005934/1.495, allocations: 0.6651 MB / 1.138 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004833/1.5, allocations: 1.231 MB / 1.139 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/1.5, allocations: 52 kB / 1.139 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005913/1.501, allocations: 99.84 kB / 1.139 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005496/1.506, allocations: 1.943 MB / 1.141 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006786/1.513, allocations: 2.37 MB / 1.143 GB, free: 484 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.728e-05/1.513, allocations: 8 kB / 1.143 GB, free: 476 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/1.514, allocations: 4 kB / 1.143 GB, free: 472 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/1.514, allocations: 87.22 kB / 1.143 GB, free: 384 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02205/1.536, allocations: 10.51 MB / 1.154 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/1.538, allocations: 0.722 MB / 1.154 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/1.539, allocations: 0.5051 MB / 1.155 GB, free: 3.746 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/1.539, allocations: 93.47 kB / 1.155 GB, free: 3.637 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/1.539, allocations: 38.94 kB / 1.155 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=46): time 3.576e-06/1.539, allocations: 3.938 kB / 1.155 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of matching and sorting (n=72): time 0.01863/1.558, allocations: 4.354 MB / 1.159 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/1.558, allocations: 85.89 kB / 1.159 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/1.56, allocations: 0.7532 MB / 1.16 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000188/1.56, allocations: 25.7 kB / 1.16 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008042/1.561, allocations: 0.7774 MB / 1.161 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/1.561, allocations: 248.4 kB / 1.161 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/1.561, allocations: 0 / 1.161 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002808/1.562, allocations: 390.8 kB / 1.161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/1.563, allocations: 0.7443 MB / 1.162 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/1.566, allocations: 1.099 MB / 1.163 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/1.569, allocations: 1.078 MB / 1.164 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/1.569, allocations: 4 kB / 1.164 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01328/1.582, allocations: 3.248 MB / 1.167 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002072/1.584, allocations: 4.262 MB / 1.172 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.174e-05/1.584, allocations: 12 kB / 1.172 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009712/1.594, allocations: 1.412 MB / 1.173 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.596, allocations: 223.6 kB / 1.173 GB, free: 308 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/1.614, allocations: 7.015 MB / 1.18 GB, free: 9.148 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/1.616, allocations: 175.6 kB / 1.18 GB, free: 8.977 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/1.616, allocations: 51.92 kB / 1.18 GB, free: 8.926 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.616, allocations: 4 kB / 1.18 GB, free: 8.922 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004686/1.621, allocations: 1.678 MB / 1.182 GB, free: 7.242 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.672e-05/1.621, allocations: 12 kB / 1.182 GB, free: 7.23 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/1.621, allocations: 16 kB / 1.182 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/1.624, allocations: 343.4 kB / 1.182 GB, free: 6.879 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.142e-05/1.624, allocations: 19.94 kB / 1.182 GB, free: 6.859 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/1.625, allocations: 123.9 kB / 1.182 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.626, allocations: 48 kB / 1.182 GB, free: 6.691 MB / 0.7917 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004317/1.626, allocations: 131.2 kB / 1.182 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/1.626, allocations: 90.97 kB / 1.183 GB, free: 6.469 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.639, allocations: 3.003 MB / 1.186 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/1.639, allocations: 8 kB / 1.186 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.639, allocations: 4 kB / 1.186 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/1.639, allocations: 7.984 kB / 1.186 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02002/1.659, allocations: 5.282 MB / 1.191 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/1.659, allocations: 4 kB / 1.191 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009297/1.66, allocations: 107.8 kB / 1.191 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01045/1.671, allocations: 1.609 MB / 1.192 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/1.671, allocations: 4 kB / 1.192 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02359/1.695, allocations: 9.144 MB / 1.201 GB, free: 2.934 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/1.695, allocations: 7.953 kB / 1.201 GB, free: 2.926 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/1.707, allocations: 2.985 MB / 1.204 GB, free: 15.84 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.708, allocations: 320 kB / 1.205 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/1.708, allocations: 4 kB / 1.205 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/1.711, allocations: 183.7 kB / 1.205 GB, free: 15.32 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004171/1.711, allocations: 60.47 kB / 1.205 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.711, allocations: 20 kB / 1.205 GB, free: 15.25 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001372/1.713, allocations: 0.581 MB / 1.205 GB, free: 14.67 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.807e-06/1.713, allocations: 0 / 1.205 GB, free: 14.67 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003913/1.717, allocations: 0.6248 MB / 1.206 GB, free: 14.04 MB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005647/1.717, allocations: 159.7 kB / 1.206 GB, free: 13.88 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009015/1.726, allocations: 2.912 MB / 1.209 GB, free: 10.96 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.726, allocations: 0 / 1.209 GB, free: 10.96 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004642/1.731, allocations: 1.341 MB / 1.21 GB, free: 9.594 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/1.733, allocations: 191.1 kB / 1.21 GB, free: 9.406 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008799/1.742, allocations: 2.803 MB / 1.213 GB, free: 6.543 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/1.745, allocations: 1.747 MB / 1.215 GB, free: 4.766 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003316/1.748, allocations: 0.6353 MB / 1.216 GB, free: 4.125 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/1.749, allocations: 55.38 kB / 1.216 GB, free: 4.074 MB / 0.823 GB Notification: Performance of SimCode: time 1.102e-06/1.749, allocations: 0 / 1.216 GB, free: 4.074 MB / 0.823 GB Notification: Performance of Templates: time 0.08606/1.835, allocations: 24.15 MB / 1.239 GB, free: 12.05 MB / 0.8542 GB