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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.281/2.281, allocations: 253.2 MB / 260.6 MB, free: 7.449 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.002234/0.002234, allocations: 183.3 kB / 319.9 MB, free: 3.027 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.073/2.073, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.001845/0.001844, allocations: 92.83 kB / 0.6751 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.969e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2025, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.337, allocations: 185.5 MB / 1.07 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003753/1.337, allocations: 96.84 kB / 1.07 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2637/1.601, allocations: 63.46 MB / 1.132 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.849e-06/1.601, allocations: 0 / 1.132 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002367/1.601, allocations: 43.86 kB / 1.132 GB, free: 12.15 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.009313/1.611, allocations: 1.546 MB / 1.133 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.849e-05/1.611, allocations: 16.02 kB / 1.133 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007477/1.618, allocations: 0.4975 MB / 1.134 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006154/1.625, allocations: 1.141 MB / 1.135 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/1.625, allocations: 48 kB / 1.135 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009809/1.626, allocations: 88 kB / 1.135 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008018/1.634, allocations: 1.775 MB / 1.137 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007539/1.641, allocations: 2.214 MB / 1.139 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-05/1.642, allocations: 3.906 kB / 1.139 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/1.642, allocations: 4 kB / 1.139 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/1.642, allocations: 91 kB / 1.139 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02174/1.664, allocations: 10.11 MB / 1.149 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/1.666, allocations: 0.5413 MB / 1.15 GB, free: 9.035 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009171/1.666, allocations: 372.5 kB / 1.15 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/1.667, allocations: 93.08 kB / 1.15 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/1.667, allocations: 34.56 kB / 1.15 GB, free: 8.516 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 3.607e-06/1.667, allocations: 0 / 1.15 GB, free: 8.516 MB / 0.7605 GB Notification: Performance of matching and sorting (n=52): time 0.01506/1.682, allocations: 3.145 MB / 1.153 GB, free: 5.348 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/1.682, allocations: 93.55 kB / 1.153 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/1.684, allocations: 0.7218 MB / 1.154 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/1.684, allocations: 25.7 kB / 1.154 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007961/1.685, allocations: 0.7576 MB / 1.155 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/1.685, allocations: 177.4 kB / 1.155 GB, free: 3.531 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/1.685, allocations: 0 / 1.155 GB, free: 3.531 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002641/1.685, allocations: 394.7 kB / 1.155 GB, free: 3.137 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/1.687, allocations: 0.5726 MB / 1.156 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/1.689, allocations: 0.9417 MB / 1.157 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/1.691, allocations: 0.8295 MB / 1.158 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/1.691, allocations: 4 kB / 1.158 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01163/1.703, allocations: 2.578 MB / 1.16 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002025/1.705, allocations: 4.533 MB / 1.164 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.603e-05/1.705, allocations: 16.06 kB / 1.164 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008193/1.713, allocations: 1.092 MB / 1.166 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.715, allocations: 219.6 kB / 1.166 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/1.728, allocations: 6.533 MB / 1.172 GB, free: 0.9727 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/1.731, allocations: 151.7 kB / 1.172 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/1.731, allocations: 43.98 kB / 1.172 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.731, allocations: 5.562 kB / 1.172 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003901/1.735, allocations: 1.266 MB / 1.174 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/1.735, allocations: 15.94 kB / 1.174 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/1.735, allocations: 20.84 kB / 1.174 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/1.737, allocations: 291.5 kB / 1.174 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.954e-05/1.737, allocations: 23.92 kB / 1.174 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.739, allocations: 103.8 kB / 1.174 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/1.739, allocations: 43.94 kB / 1.174 GB, free: 15.02 MB / 0.7917 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004094/1.739, allocations: 132.7 kB / 1.174 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/1.74, allocations: 83.05 kB / 1.174 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/1.75, allocations: 2.262 MB / 1.176 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/1.75, allocations: 7.953 kB / 1.176 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.75, allocations: 4 kB / 1.176 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/1.75, allocations: 3.984 kB / 1.176 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/1.765, allocations: 3.877 MB / 1.18 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/1.765, allocations: 0 / 1.18 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000839/1.766, allocations: 99.86 kB / 1.18 GB, free: 8.422 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008996/1.775, allocations: 1.349 MB / 1.182 GB, free: 7.059 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/1.775, allocations: 7.938 kB / 1.182 GB, free: 7.051 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/1.793, allocations: 9.107 MB / 1.191 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/1.793, allocations: 4 kB / 1.191 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/1.803, allocations: 2.33 MB / 1.193 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009542/1.804, allocations: 272.2 kB / 1.193 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/1.805, allocations: 12.19 kB / 1.193 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/1.807, allocations: 155.7 kB / 1.193 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/1.807, allocations: 43.94 kB / 1.193 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.681e-05/1.807, allocations: 19.98 kB / 1.193 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001264/1.808, allocations: 0.5615 MB / 1.194 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.12e-07/1.808, allocations: 0 / 1.194 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003146/1.811, allocations: 0.5468 MB / 1.194 GB, free: 9.418 MB / 0.8073 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004812/1.812, allocations: 163.7 kB / 1.195 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006536/1.819, allocations: 2.353 MB / 1.197 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.819, allocations: 4 kB / 1.197 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/1.822, allocations: 1.179 MB / 1.198 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.823, allocations: 190 kB / 1.198 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007188/1.831, allocations: 2.369 MB / 1.201 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/1.833, allocations: 1.638 MB / 1.202 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002869/1.836, allocations: 0.58 MB / 1.203 GB, free: 0.793 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/1.836, allocations: 51.42 kB / 1.203 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of SimCode: time 1.333e-06/1.836, allocations: 0 / 1.203 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of Templates: time 0.05503/1.891, allocations: 19.07 MB / 1.221 GB, free: 13.76 MB / 0.8386 GB