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.219/2.219, allocations: 252.6 MB / 265.2 MB, free: 5.66 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.001498/0.001498, allocations: 181.5 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001128/0.001128, allocations: 97.45 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.305e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1957, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9072/1.103, allocations: 186.1 MB / 1.077 GB, free: 14.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003837/1.103, allocations: 95.75 kB / 1.077 GB, free: 14.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2664/1.37, allocations: 66.42 MB / 1.142 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.365e-06/1.37, allocations: 0 / 1.142 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001569/1.37, allocations: 39.98 kB / 1.142 GB, free: 1.797 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.006682/1.377, allocations: 1.679 MB / 1.143 GB, free: 68 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.377, allocations: 8.031 kB / 1.143 GB, free: 60 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005724/1.383, allocations: 0.6612 MB / 1.144 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004674/1.387, allocations: 1.239 MB / 1.145 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/1.387, allocations: 119.2 kB / 1.145 GB, free: 14 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009223/1.388, allocations: 167.8 kB / 1.145 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/1.399, allocations: 2.601 MB / 1.148 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.166e-05/1.399, allocations: 4 kB / 1.148 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005198/1.399, allocations: 63.98 kB / 1.148 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/1.399, allocations: 91.16 kB / 1.148 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007389/1.407, allocations: 2.16 MB / 1.15 GB, free: 8.848 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02615/1.433, allocations: 10.89 MB / 1.161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/1.435, allocations: 0.738 MB / 1.162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/1.437, allocations: 0.5169 MB / 1.162 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/1.437, allocations: 97.45 kB / 1.162 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/1.437, allocations: 34.94 kB / 1.162 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=46): time 3.807e-06/1.437, allocations: 0 / 1.162 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=72): time 0.04017/1.477, allocations: 7.169 MB / 1.169 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/1.477, allocations: 89.83 kB / 1.169 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/1.479, allocations: 0.8471 MB / 1.17 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002453/1.48, allocations: 45.7 kB / 1.17 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007881/1.481, allocations: 0.7698 MB / 1.171 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/1.481, allocations: 252.3 kB / 1.171 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/1.481, allocations: 20 kB / 1.171 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003019/1.481, allocations: 402.7 kB / 1.172 GB, free: 1.996 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/1.483, allocations: 0.76 MB / 1.172 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/1.486, allocations: 1.121 MB / 1.173 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/1.488, allocations: 0.97 MB / 1.174 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-05/1.488, allocations: 4 kB / 1.174 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01616/1.505, allocations: 3.392 MB / 1.178 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.002444/1.507, allocations: 4.267 MB / 1.182 GB, free: 6.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.931e-05/1.507, allocations: 12 kB / 1.182 GB, free: 6.961 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04311/1.55, allocations: 1.752 MB / 1.184 GB, free: 5.203 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/1.553, allocations: 223.6 kB / 1.184 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0438/1.597, allocations: 7.294 MB / 1.191 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/1.599, allocations: 183.6 kB / 1.191 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/1.599, allocations: 44 kB / 1.191 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.599, allocations: 6.5 kB / 1.191 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01063/1.61, allocations: 2.735 MB / 1.194 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.661e-05/1.61, allocations: 12 kB / 1.194 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006494/1.616, allocations: 1.035 MB / 1.195 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/1.619, allocations: 295.5 kB / 1.195 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/1.634, allocations: 6.064 MB / 1.201 GB, free: 3.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.636, allocations: 159.7 kB / 1.201 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.636, allocations: 52 kB / 1.201 GB, free: 2.812 MB / 0.8073 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.0004286/1.637, allocations: 167.2 kB / 1.201 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/1.637, allocations: 86.97 kB / 1.201 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.65, allocations: 2.999 MB / 1.204 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/1.65, allocations: 8 kB / 1.204 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.65, allocations: 4.328 kB / 1.204 GB, free: 15.53 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.423e-05/1.65, allocations: 3.984 kB / 1.204 GB, free: 15.53 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.669, allocations: 5.578 MB / 1.21 GB, free: 9.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/1.67, allocations: 3.984 kB / 1.21 GB, free: 9.828 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/1.67, allocations: 112.1 kB / 1.21 GB, free: 9.719 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/1.681, allocations: 1.634 MB / 1.212 GB, free: 8.078 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/1.681, allocations: 19.94 kB / 1.212 GB, free: 8.059 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02343/1.704, allocations: 9.453 MB / 1.221 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.705, allocations: 0 / 1.221 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/1.717, allocations: 2.958 MB / 1.224 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/1.718, allocations: 331.9 kB / 1.224 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/1.718, allocations: 16 kB / 1.224 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/1.72, allocations: 143.8 kB / 1.224 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003836/1.72, allocations: 60.44 kB / 1.224 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.72, allocations: 23.98 kB / 1.224 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001552/1.722, allocations: 0.6591 MB / 1.225 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.61e-07/1.722, allocations: 0 / 1.225 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003435/1.725, allocations: 0.7031 MB / 1.226 GB, free: 9.34 MB / 0.8386 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.0005397/1.726, allocations: 185.4 kB / 1.226 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01226/1.738, allocations: 3.603 MB / 1.229 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.738, allocations: 4.312 kB / 1.229 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004614/1.743, allocations: 1.376 MB / 1.231 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/1.745, allocations: 240.8 kB / 1.231 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008235/1.753, allocations: 2.856 MB / 1.234 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002513/1.756, allocations: 1.751 MB / 1.235 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003141/1.759, allocations: 0.6552 MB / 1.236 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/1.759, allocations: 55.42 kB / 1.236 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of SimCode: time 1.102e-06/1.759, allocations: 0 / 1.236 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.08141/1.841, allocations: 28.61 MB / 1.264 GB, free: 1.98 MB / 0.8698 GB