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.292/2.292, allocations: 252.6 MB / 265.2 MB, free: 5.695 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.001447/0.001446, allocations: 187.8 kB / 324.5 MB, free: 14.38 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.096/2.096, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001066/0.001066, allocations: 86.7 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.956e-05/3.967e-05, allocations: 8 kB / 0.7912 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1963, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.206, allocations: 185.2 MB / 1.076 GB, free: 15.65 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003577/1.207, allocations: 100.9 kB / 1.076 GB, free: 15.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2999/1.507, allocations: 63.8 MB / 1.138 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.288e-06/1.507, allocations: 0 / 1.138 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001528/1.507, allocations: 47.86 kB / 1.138 GB, free: 5.301 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.006395/1.513, allocations: 1.55 MB / 1.14 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/1.514, allocations: 8.031 kB / 1.14 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004781/1.518, allocations: 0.4897 MB / 1.14 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004006/1.522, allocations: 1.147 MB / 1.141 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/1.523, allocations: 119 kB / 1.141 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006916/1.523, allocations: 148 kB / 1.142 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007702/1.531, allocations: 2.431 MB / 1.144 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.952e-05/1.531, allocations: 3.906 kB / 1.144 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/1.531, allocations: 75.92 kB / 1.144 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/1.532, allocations: 83.06 kB / 1.144 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00627/1.538, allocations: 1.976 MB / 1.146 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02165/1.56, allocations: 10.51 MB / 1.156 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/1.561, allocations: 0.553 MB / 1.157 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009692/1.562, allocations: 380.7 kB / 1.157 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/1.563, allocations: 89.09 kB / 1.157 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/1.563, allocations: 34.56 kB / 1.157 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 3.357e-06/1.563, allocations: 0 / 1.157 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of matching and sorting (n=52): time 0.02722/1.59, allocations: 4.785 MB / 1.162 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/1.59, allocations: 85.55 kB / 1.162 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/1.592, allocations: 0.8079 MB / 1.163 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/1.592, allocations: 33.7 kB / 1.163 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000725/1.593, allocations: 0.7616 MB / 1.164 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/1.593, allocations: 185.4 kB / 1.164 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/1.593, allocations: 16 kB / 1.164 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002418/1.594, allocations: 390.8 kB / 1.164 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/1.595, allocations: 0.5914 MB / 1.165 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/1.597, allocations: 0.9645 MB / 1.166 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/1.599, allocations: 0.7721 MB / 1.166 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/1.599, allocations: 0 / 1.166 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01244/1.612, allocations: 2.769 MB / 1.169 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001834/1.614, allocations: 4.539 MB / 1.174 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/1.614, allocations: 12 kB / 1.174 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00989/1.624, allocations: 1.412 MB / 1.175 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/1.626, allocations: 231.6 kB / 1.175 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.639, allocations: 6.828 MB / 1.182 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.642, allocations: 163.6 kB / 1.182 GB, free: 6.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/1.642, allocations: 40 kB / 1.182 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/1.642, allocations: 4 kB / 1.182 GB, free: 6.297 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01037/1.652, allocations: 2.247 MB / 1.184 GB, free: 4.043 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.569e-05/1.652, allocations: 12.38 kB / 1.184 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005908/1.658, allocations: 0.868 MB / 1.185 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/1.66, allocations: 259.5 kB / 1.185 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/1.672, allocations: 5.368 MB / 1.191 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.674, allocations: 135.8 kB / 1.191 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/1.674, allocations: 43.98 kB / 1.191 GB, free: 13.09 MB / 0.8073 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.0004425/1.675, allocations: 164.6 kB / 1.191 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/1.675, allocations: 79 kB / 1.191 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.686, allocations: 2.321 MB / 1.193 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.686, allocations: 8 kB / 1.193 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/1.686, allocations: 0 / 1.193 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/1.686, allocations: 0 / 1.193 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.702, allocations: 4.258 MB / 1.197 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/1.702, allocations: 3.938 kB / 1.197 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008375/1.703, allocations: 99.86 kB / 1.198 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00937/1.712, allocations: 1.365 MB / 1.199 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/1.712, allocations: 16 kB / 1.199 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01923/1.732, allocations: 9.485 MB / 1.208 GB, free: 10.59 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.732, allocations: 4.031 kB / 1.208 GB, free: 10.59 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.742, allocations: 2.369 MB / 1.211 GB, free: 8.113 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.744, allocations: 284 kB / 1.211 GB, free: 7.816 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/1.744, allocations: 15.95 kB / 1.211 GB, free: 7.801 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/1.745, allocations: 119.8 kB / 1.211 GB, free: 7.684 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/1.746, allocations: 52.06 kB / 1.211 GB, free: 7.633 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.897e-05/1.746, allocations: 12 kB / 1.211 GB, free: 7.621 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001459/1.747, allocations: 0.6279 MB / 1.212 GB, free: 7 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.81e-07/1.747, allocations: 0 / 1.212 GB, free: 7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003232/1.751, allocations: 0.6055 MB / 1.212 GB, free: 6.395 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 (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.0005036/1.751, allocations: 171.1 kB / 1.212 GB, free: 6.215 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009108/1.76, allocations: 2.951 MB / 1.215 GB, free: 3.211 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/1.76, allocations: 0 / 1.215 GB, free: 3.211 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00344/1.764, allocations: 1.241 MB / 1.216 GB, free: 1.918 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/1.766, allocations: 217.2 kB / 1.217 GB, free: 1.707 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007322/1.773, allocations: 2.402 MB / 1.219 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/1.776, allocations: 1.646 MB / 1.221 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003011/1.779, allocations: 0.5918 MB / 1.221 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/1.779, allocations: 55.42 kB / 1.221 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of SimCode: time 1.763e-06/1.779, allocations: 0 / 1.221 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of Templates: time 0.06318/1.842, allocations: 22.88 MB / 1.244 GB, free: 6.129 MB / 0.8542 GB