Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.94/4.94, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 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.002519/0.002519, allocations: 352 kB / 0.6446 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.383/4.383, allocations: 410.7 MB / 1.113 GB, free: 5.965 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.001847/0.001847, allocations: 190.2 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005451/0.0005453, allocations: 12 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7205/0.7211, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.56/7.281, allocations: 2.103 GB / 3.564 GB, free: 267.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003952/7.282, allocations: 113.5 kB / 3.564 GB, free: 267.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2501/7.532, allocations: 58.76 MB / 3.621 GB, free: 248.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.575e-06/7.532, allocations: 0 / 3.621 GB, free: 248.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001324/7.532, allocations: 39.88 kB / 3.621 GB, free: 248.1 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.00468/7.537, allocations: 1.537 MB / 3.623 GB, free: 246.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/7.537, allocations: 11.62 kB / 3.623 GB, free: 246.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/7.54, allocations: 295.6 kB / 3.623 GB, free: 246.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/7.542, allocations: 0.8383 MB / 3.624 GB, free: 245.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/7.542, allocations: 89.41 kB / 3.624 GB, free: 245.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/7.543, allocations: 103.4 kB / 3.624 GB, free: 245.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/7.546, allocations: 1.299 MB / 3.625 GB, free: 244.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.372e-05/7.546, allocations: 4 kB / 3.625 GB, free: 244.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/7.546, allocations: 50.14 kB / 3.626 GB, free: 244.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.845e-05/7.546, allocations: 52.86 kB / 3.626 GB, free: 244.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003974/7.55, allocations: 1.468 MB / 3.627 GB, free: 243.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009816/7.56, allocations: 4.73 MB / 3.632 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/7.563, allocations: 1.01 MB / 3.633 GB, free: 238.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/7.564, allocations: 434.5 kB / 3.633 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/7.565, allocations: 125.8 kB / 3.633 GB, free: 238 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/7.566, allocations: 0.5743 MB / 3.634 GB, free: 237.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 4.018e-06/7.566, allocations: 4 kB / 3.634 GB, free: 237.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.00805/7.574, allocations: 2.116 MB / 3.636 GB, free: 235.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/7.574, allocations: 299.4 kB / 3.636 GB, free: 235.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/7.577, allocations: 0.9768 MB / 3.637 GB, free: 234.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003288/7.577, allocations: 44.33 kB / 3.637 GB, free: 234.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000545/7.577, allocations: 0.5452 MB / 3.638 GB, free: 234.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/7.578, allocations: 313.4 kB / 3.638 GB, free: 234.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/7.578, allocations: 18.44 kB / 3.638 GB, free: 234.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/7.578, allocations: 345.3 kB / 3.638 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/7.579, allocations: 352 kB / 3.639 GB, free: 233.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/7.58, allocations: 0.5462 MB / 3.639 GB, free: 233 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/7.582, allocations: 434.3 kB / 3.64 GB, free: 232.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/7.582, allocations: 0 / 3.64 GB, free: 232.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004545/7.586, allocations: 1.212 MB / 3.641 GB, free: 231.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/7.586, allocations: 185.7 kB / 3.641 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/7.586, allocations: 0 / 3.641 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/7.588, allocations: 264.4 kB / 3.641 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/7.59, allocations: 214.7 kB / 3.641 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/7.595, allocations: 1.983 MB / 3.643 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/7.597, allocations: 106.7 kB / 3.643 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/7.597, allocations: 43.66 kB / 3.643 GB, free: 229.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/7.597, allocations: 4 kB / 3.643 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002523/7.599, allocations: 0.8767 MB / 3.644 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/7.599, allocations: 4 kB / 3.644 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/7.599, allocations: 12.36 kB / 3.644 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/7.601, allocations: 211.2 kB / 3.645 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/7.601, allocations: 15.92 kB / 3.645 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/7.602, allocations: 99.08 kB / 3.645 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/7.603, allocations: 39.55 kB / 3.645 GB, free: 228.3 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.001055/7.604, allocations: 425.2 kB / 3.645 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/7.604, allocations: 110.3 kB / 3.645 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004625/7.609, allocations: 1.397 MB / 3.647 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/7.609, allocations: 15.94 kB / 3.647 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/7.609, allocations: 4 kB / 3.647 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/7.609, allocations: 3.984 kB / 3.647 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007081/7.616, allocations: 2.717 MB / 3.649 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/7.616, allocations: 0 / 3.649 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/7.617, allocations: 202.9 kB / 3.649 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/7.619, allocations: 207.6 kB / 3.65 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/7.619, allocations: 30.5 kB / 3.65 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/7.622, allocations: 1.829 MB / 3.651 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/7.622, allocations: 4.062 kB / 3.651 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/7.626, allocations: 1.405 MB / 3.653 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009952/7.627, allocations: 357.6 kB / 3.653 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/7.627, allocations: 26.67 kB / 3.653 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/7.629, allocations: 93.78 kB / 3.653 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/7.629, allocations: 76.22 kB / 3.653 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/7.629, allocations: 38.92 kB / 3.653 GB, free: 220.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001456/7.631, allocations: 0.6988 MB / 3.654 GB, free: 220.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/7.631, allocations: 0 / 3.654 GB, free: 220.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002682/7.633, allocations: 0.4982 MB / 3.655 GB, free: 220 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.001835/7.635, allocations: 0.6122 MB / 3.655 GB, free: 219.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004574/7.64, allocations: 1.541 MB / 3.657 GB, free: 218.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/7.64, allocations: 0 / 3.657 GB, free: 218.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/7.642, allocations: 0.6614 MB / 3.657 GB, free: 217.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/7.645, allocations: 305.6 kB / 3.658 GB, free: 217.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/7.651, allocations: 2.868 MB / 3.66 GB, free: 214.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/7.652, allocations: 1.211 MB / 3.662 GB, free: 213.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002501/7.654, allocations: 464.2 kB / 3.662 GB, free: 212.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/7.655, allocations: 115.4 kB / 3.662 GB, free: 212.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.313e-06/7.655, allocations: 0 / 3.662 GB, free: 212.5 MB / 0.948 GB Notification: Performance of Templates: time 0.04399/7.699, allocations: 17.14 MB / 3.679 GB, free: 195.6 MB / 0.948 GB