Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.897/4.897, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002514/0.002514, allocations: 362 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.233/4.233, allocations: 410.7 MB / 1.113 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001839/0.001839, allocations: 179.4 kB / 1.226 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004733, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.744, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.626/7.37, allocations: 2.107 GB / 3.568 GB, free: 266.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004093/7.37, allocations: 121.6 kB / 3.568 GB, free: 266.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2541/7.625, allocations: 63.31 MB / 3.63 GB, free: 240.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.555e-06/7.625, allocations: 0 / 3.63 GB, free: 240.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001303/7.625, allocations: 39.2 kB / 3.63 GB, free: 240.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.00422/7.629, allocations: 1.535 MB / 3.631 GB, free: 239.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/7.629, allocations: 14.31 kB / 3.631 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/7.632, allocations: 304.9 kB / 3.632 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/7.634, allocations: 0.8371 MB / 3.633 GB, free: 238.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.02e-05/7.635, allocations: 85.78 kB / 3.633 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/7.635, allocations: 100.2 kB / 3.633 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/7.638, allocations: 1.301 MB / 3.634 GB, free: 237.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.891e-05/7.638, allocations: 7.938 kB / 3.634 GB, free: 237.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/7.638, allocations: 43 kB / 3.634 GB, free: 237.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.984e-05/7.638, allocations: 57.56 kB / 3.634 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00374/7.642, allocations: 1.466 MB / 3.636 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009954/7.652, allocations: 4.717 MB / 3.64 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/7.655, allocations: 1.014 MB / 3.641 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/7.656, allocations: 445.2 kB / 3.642 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/7.657, allocations: 122 kB / 3.642 GB, free: 230.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001544/7.658, allocations: 0.5818 MB / 3.642 GB, free: 230.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 4.709e-06/7.658, allocations: 4.109 kB / 3.642 GB, free: 230.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.008243/7.667, allocations: 2.119 MB / 3.644 GB, free: 228.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/7.667, allocations: 295.7 kB / 3.645 GB, free: 228.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/7.669, allocations: 0.9799 MB / 3.646 GB, free: 227.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003457/7.669, allocations: 42.45 kB / 3.646 GB, free: 227.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006168/7.67, allocations: 0.5442 MB / 3.646 GB, free: 227.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004491/7.67, allocations: 321.7 kB / 3.646 GB, free: 226.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/7.671, allocations: 18.06 kB / 3.646 GB, free: 226.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.747e-05/7.671, allocations: 340.3 kB / 3.647 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/7.672, allocations: 350.5 kB / 3.647 GB, free: 226.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/7.673, allocations: 0.5475 MB / 3.648 GB, free: 225.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/7.674, allocations: 438.3 kB / 3.648 GB, free: 225.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/7.674, allocations: 0 / 3.648 GB, free: 225.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00456/7.679, allocations: 1.211 MB / 3.649 GB, free: 224.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/7.679, allocations: 182 kB / 3.649 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/7.679, allocations: 0 / 3.649 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/7.681, allocations: 267.7 kB / 3.65 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/7.683, allocations: 210.9 kB / 3.65 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004192/7.687, allocations: 1.974 MB / 3.652 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/7.689, allocations: 101.9 kB / 3.652 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/7.689, allocations: 42.91 kB / 3.652 GB, free: 221.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/7.689, allocations: 4 kB / 3.652 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00245/7.692, allocations: 0.8882 MB / 3.653 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/7.692, allocations: 7.969 kB / 3.653 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/7.692, allocations: 8 kB / 3.653 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/7.693, allocations: 211.3 kB / 3.653 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/7.693, allocations: 19.92 kB / 3.653 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/7.695, allocations: 94.95 kB / 3.653 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/7.695, allocations: 43.78 kB / 3.653 GB, free: 221 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001064/7.696, allocations: 418.2 kB / 3.654 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/7.696, allocations: 106.7 kB / 3.654 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/7.701, allocations: 1.405 MB / 3.655 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/7.702, allocations: 8 kB / 3.655 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/7.702, allocations: 4 kB / 3.655 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.46e-05/7.702, allocations: 7.969 kB / 3.655 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009198/7.711, allocations: 2.725 MB / 3.658 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/7.711, allocations: 0 / 3.658 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/7.713, allocations: 195.7 kB / 3.658 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/7.715, allocations: 212.7 kB / 3.658 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/7.715, allocations: 23.98 kB / 3.658 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00402/7.719, allocations: 1.835 MB / 3.66 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/7.719, allocations: 0 / 3.66 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005599/7.725, allocations: 1.4 MB / 3.661 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/7.726, allocations: 363.2 kB / 3.662 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003811/7.727, allocations: 24 kB / 3.662 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/7.729, allocations: 87.91 kB / 3.662 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/7.729, allocations: 84.78 kB / 3.662 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/7.729, allocations: 35.98 kB / 3.662 GB, free: 213 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002096/7.731, allocations: 0.6992 MB / 3.663 GB, free: 212.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.22e-07/7.732, allocations: 4 kB / 3.663 GB, free: 212.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003722/7.735, allocations: 0.5037 MB / 3.663 GB, free: 211.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002449/7.738, allocations: 0.5993 MB / 3.664 GB, free: 211.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005795/7.744, allocations: 1.528 MB / 3.665 GB, free: 209.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/7.744, allocations: 3.938 kB / 3.665 GB, free: 209.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/7.746, allocations: 0.6575 MB / 3.666 GB, free: 209.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/7.75, allocations: 323.4 kB / 3.666 GB, free: 208.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008073/7.758, allocations: 2.853 MB / 3.669 GB, free: 205.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/7.759, allocations: 1.215 MB / 3.67 GB, free: 204.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003471/7.763, allocations: 468.1 kB / 3.67 GB, free: 204.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007541/7.764, allocations: 111.4 kB / 3.671 GB, free: 204.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.394e-06/7.764, allocations: 0 / 3.671 GB, free: 204.1 MB / 0.948 GB Notification: Performance of Templates: time 0.04737/7.811, allocations: 17.16 MB / 3.687 GB, free: 187.2 MB / 0.948 GB