Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.359/2.359, allocations: 251.1 MB / 266.1 MB, free: 11.57 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.002261/0.002261, allocations: 176 kB / 325.6 MB, free: 2.832 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.553/2.553, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001174/0.001174, allocations: 94.84 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004767, allocations: 13.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2384, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.548/7.787, allocations: 2.221 GB / 3.119 GB, free: 239 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/7.787, allocations: 110.4 kB / 3.12 GB, free: 239 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2441/8.032, allocations: 59.03 MB / 3.177 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.376e-06/8.032, allocations: 3.906 kB / 3.177 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001643/8.032, allocations: 35.38 kB / 3.177 GB, free: 228.7 MB / 0.8855 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.004845/8.037, allocations: 1.532 MB / 3.179 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/8.037, allocations: 10.72 kB / 3.179 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/8.039, allocations: 303.8 kB / 3.179 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/8.042, allocations: 0.8367 MB / 3.18 GB, free: 227 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.44e-05/8.042, allocations: 77.02 kB / 3.18 GB, free: 227 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/8.043, allocations: 109.8 kB / 3.18 GB, free: 227 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003647/8.046, allocations: 1.293 MB / 3.181 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.018e-05/8.046, allocations: 0 / 3.181 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/8.046, allocations: 44.97 kB / 3.181 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.561e-05/8.047, allocations: 60.34 kB / 3.181 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004041/8.051, allocations: 1.468 MB / 3.183 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/8.061, allocations: 4.721 MB / 3.187 GB, free: 223 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/8.064, allocations: 1.012 MB / 3.188 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/8.064, allocations: 131.8 kB / 3.189 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/8.066, allocations: 0.5811 MB / 3.189 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=94): time 3.747e-06/8.066, allocations: 0 / 3.189 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.007467/8.073, allocations: 2.031 MB / 3.191 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/8.073, allocations: 299 kB / 3.191 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/8.075, allocations: 0.8802 MB / 3.192 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003238/8.076, allocations: 44.52 kB / 3.192 GB, free: 221 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005586/8.076, allocations: 0.5343 MB / 3.193 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/8.077, allocations: 318.8 kB / 3.193 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/8.077, allocations: 17.66 kB / 3.193 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/8.077, allocations: 346.6 kB / 3.194 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/8.078, allocations: 348.9 kB / 3.194 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/8.079, allocations: 0.5448 MB / 3.194 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/8.081, allocations: 430.1 kB / 3.195 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/8.081, allocations: 0 / 3.195 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003895/8.084, allocations: 1.187 MB / 3.196 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002748/8.085, allocations: 1.156 MB / 3.197 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/8.085, allocations: 3.875 kB / 3.197 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/8.086, allocations: 209.8 kB / 3.197 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/8.088, allocations: 205.9 kB / 3.197 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007778/8.089, allocations: 0.6425 MB / 3.198 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/8.09, allocations: 99 kB / 3.198 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/8.091, allocations: 41.44 kB / 3.198 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/8.091, allocations: 3.875 kB / 3.198 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002458/8.093, allocations: 0.8872 MB / 3.199 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/8.093, allocations: 3.594 kB / 3.199 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.748e-05/8.093, allocations: 10.41 kB / 3.199 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/8.095, allocations: 212 kB / 3.199 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/8.095, allocations: 10.34 kB / 3.199 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/8.096, allocations: 102.5 kB / 3.199 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/8.097, allocations: 38.23 kB / 3.199 GB, free: 217.4 MB / 0.8855 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.001063/8.098, allocations: 424.6 kB / 3.2 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/8.098, allocations: 116.7 kB / 3.2 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004673/8.103, allocations: 1.398 MB / 3.201 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/8.103, allocations: 11.09 kB / 3.201 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/8.103, allocations: 3.719 kB / 3.201 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/8.103, allocations: 3.984 kB / 3.201 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/8.11, allocations: 2.729 MB / 3.204 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/8.11, allocations: 0 / 3.204 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/8.111, allocations: 197.8 kB / 3.204 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/8.113, allocations: 211.7 kB / 3.204 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/8.113, allocations: 33.42 kB / 3.204 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002866/8.116, allocations: 1.871 MB / 3.206 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/8.116, allocations: 11.25 kB / 3.206 GB, free: 214 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/8.12, allocations: 1.478 MB / 3.208 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000942/8.121, allocations: 369.2 kB / 3.208 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003069/8.121, allocations: 25.67 kB / 3.208 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/8.123, allocations: 90.44 kB / 3.208 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/8.123, allocations: 75.61 kB / 3.208 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/8.123, allocations: 42.92 kB / 3.208 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001471/8.125, allocations: 0.6989 MB / 3.209 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.41e-07/8.125, allocations: 0 / 3.209 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002465/8.127, allocations: 0.4922 MB / 3.209 GB, free: 212.9 MB / 0.8855 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.00178/8.129, allocations: 0.6079 MB / 3.21 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004326/8.133, allocations: 1.419 MB / 3.211 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/8.133, allocations: 7.688 kB / 3.211 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/8.135, allocations: 0.6489 MB / 3.212 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/8.138, allocations: 300.3 kB / 3.212 GB, free: 212 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/8.144, allocations: 2.851 MB / 3.215 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009146/8.145, allocations: 1.208 MB / 3.216 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002608/8.148, allocations: 459.5 kB / 3.217 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005798/8.148, allocations: 119.4 kB / 3.217 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.172e-06/8.148, allocations: 0 / 3.217 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.04393/8.192, allocations: 16.61 MB / 3.233 GB, free: 194.9 MB / 0.8855 GB