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.383/2.383, allocations: 251.1 MB / 266.1 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 183.8 kB / 325.6 MB, free: 2.84 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.344/2.344, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001148/0.001148, allocations: 94.33 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006552, allocations: 11.75 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2334, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9693/1.203, allocations: 186.2 MB / 1.081 GB, free: 54.44 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.203, allocations: 102.1 kB / 1.081 GB, free: 54.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2426/1.446, allocations: 66.68 MB / 1.146 GB, free: 35.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.186e-06/1.446, allocations: 0 / 1.146 GB, free: 35.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000122/1.446, allocations: 42.53 kB / 1.146 GB, free: 35.36 MB / 0.698 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.006336/1.452, allocations: 1.794 MB / 1.148 GB, free: 34.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.452, allocations: 7.781 kB / 1.148 GB, free: 34.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005426/1.458, allocations: 0.6653 MB / 1.148 GB, free: 33.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/1.462, allocations: 1.24 MB / 1.15 GB, free: 33.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/1.462, allocations: 119.9 kB / 1.15 GB, free: 33.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006471/1.463, allocations: 159.7 kB / 1.15 GB, free: 33.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007203/1.47, allocations: 2.647 MB / 1.152 GB, free: 32.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.178e-05/1.47, allocations: 0 / 1.152 GB, free: 32.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/1.47, allocations: 66.19 kB / 1.152 GB, free: 32.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/1.47, allocations: 92.94 kB / 1.153 GB, free: 32.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006232/1.477, allocations: 2.22 MB / 1.155 GB, free: 32.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01926/1.496, allocations: 10.89 MB / 1.165 GB, free: 25.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/1.498, allocations: 0.7597 MB / 1.166 GB, free: 24.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/1.498, allocations: 88.92 kB / 1.166 GB, free: 24.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/1.498, allocations: 40.12 kB / 1.166 GB, free: 24.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 3.427e-06/1.498, allocations: 0 / 1.166 GB, free: 24.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.05227/1.551, allocations: 8.398 MB / 1.174 GB, free: 21.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/1.551, allocations: 85.19 kB / 1.175 GB, free: 21.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/1.553, allocations: 0.8549 MB / 1.175 GB, free: 21.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/1.553, allocations: 38.64 kB / 1.175 GB, free: 21.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007179/1.554, allocations: 0.7778 MB / 1.176 GB, free: 20.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/1.554, allocations: 248.3 kB / 1.176 GB, free: 20.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/1.555, allocations: 24.81 kB / 1.176 GB, free: 20.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002134/1.555, allocations: 399.7 kB / 1.177 GB, free: 20.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/1.557, allocations: 0.8039 MB / 1.178 GB, free: 20 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002908/1.56, allocations: 1.159 MB / 1.179 GB, free: 19.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003116/1.563, allocations: 0.9967 MB / 1.18 GB, free: 19.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/1.564, allocations: 3.875 kB / 1.18 GB, free: 19.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01867/1.582, allocations: 3.509 MB / 1.183 GB, free: 18.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001119/1.583, allocations: 4.273 MB / 1.187 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/1.583, allocations: 9.625 kB / 1.187 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01442/1.598, allocations: 1.87 MB / 1.189 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.6, allocations: 226.4 kB / 1.189 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/1.615, allocations: 7.03 MB / 1.196 GB, free: 6.027 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.617, allocations: 187.6 kB / 1.196 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/1.617, allocations: 51.98 kB / 1.196 GB, free: 5.793 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.617, allocations: 4 kB / 1.196 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01063/1.628, allocations: 2.861 MB / 1.199 GB, free: 2.922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.523e-05/1.628, allocations: 12 kB / 1.199 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007661/1.635, allocations: 1.153 MB / 1.2 GB, free: 1.758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/1.638, allocations: 299.7 kB / 1.201 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/1.652, allocations: 5.844 MB / 1.206 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/1.655, allocations: 159.8 kB / 1.207 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/1.655, allocations: 44 kB / 1.207 GB, free: 11.29 MB / 0.7136 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 (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%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002275/1.657, allocations: 0.9041 MB / 1.207 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/1.657, allocations: 86.95 kB / 1.208 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/1.672, allocations: 3.109 MB / 1.211 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/1.672, allocations: 8 kB / 1.211 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/1.672, allocations: 0 / 1.211 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.422e-05/1.672, allocations: 11.94 kB / 1.211 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/1.692, allocations: 5.168 MB / 1.216 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/1.692, allocations: 4 kB / 1.216 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009217/1.693, allocations: 103.8 kB / 1.216 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01243/1.705, allocations: 1.782 MB / 1.217 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/1.706, allocations: 20 kB / 1.217 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02497/1.731, allocations: 9.988 MB / 1.227 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.731, allocations: 8 kB / 1.227 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/1.744, allocations: 3.102 MB / 1.23 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.745, allocations: 332 kB / 1.231 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003018/1.746, allocations: 15.98 kB / 1.231 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.747, allocations: 147.8 kB / 1.231 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/1.748, allocations: 68.36 kB / 1.231 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-05/1.748, allocations: 20 kB / 1.231 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001541/1.749, allocations: 0.6746 MB / 1.231 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/1.749, allocations: 0 / 1.231 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003414/1.753, allocations: 0.7031 MB / 1.232 GB, free: 0.5586 MB / 0.7292 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 (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%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004995/1.753, allocations: 180.6 kB / 1.232 GB, free: 388 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.765, allocations: 3.603 MB / 1.236 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.945e-05/1.765, allocations: 4.25 kB / 1.236 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00484/1.77, allocations: 1.34 MB / 1.237 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.772, allocations: 236.3 kB / 1.237 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.782, allocations: 4.06 MB / 1.241 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002445/1.785, allocations: 1.753 MB / 1.243 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00249/1.787, allocations: 0.5225 MB / 1.244 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/1.788, allocations: 55.44 kB / 1.244 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of SimCode: time 1.373e-06/1.788, allocations: 0 / 1.244 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of Templates: time 0.0723/1.86, allocations: 27.81 MB / 1.271 GB, free: 9.008 MB / 0.7761 GB