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.243/2.243, allocations: 253.1 MB / 260.6 MB, free: 7.562 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.00181/0.00181, allocations: 191 kB / 319.9 MB, free: 3.078 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.179/2.179, allocations: 205.6 MB / 0.5709 GB, free: 15.25 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.001609/0.001609, allocations: 81.41 kB / 0.6751 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.876e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1972, allocations: 106.2 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.678/7.875, allocations: 2.221 GB / 3.109 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/7.875, allocations: 103.8 kB / 3.11 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2588/8.134, allocations: 57.36 MB / 3.166 GB, free: 92.29 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/8.134, allocations: 0 / 3.166 GB, free: 92.29 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001649/8.134, allocations: 31.94 kB / 3.166 GB, free: 92.26 MB / 0.8698 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.003737/8.138, allocations: 1.365 MB / 3.167 GB, free: 90.84 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/8.138, allocations: 12.03 kB / 3.167 GB, free: 90.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/8.141, allocations: 309.7 kB / 3.167 GB, free: 90.52 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/8.144, allocations: 0.83 MB / 3.168 GB, free: 89.64 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/8.144, allocations: 32 kB / 3.168 GB, free: 89.61 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/8.144, allocations: 60 kB / 3.168 GB, free: 89.55 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002998/8.147, allocations: 1.284 MB / 3.169 GB, free: 88.27 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/8.15, allocations: 1.115 MB / 3.17 GB, free: 87.06 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/8.15, allocations: 0 / 3.17 GB, free: 87.06 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/8.15, allocations: 7.953 kB / 3.17 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-05/8.15, allocations: 53.98 kB / 3.171 GB, free: 87 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009138/8.159, allocations: 4.527 MB / 3.175 GB, free: 82.24 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/8.161, allocations: 0.9149 MB / 3.176 GB, free: 81.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007737/8.162, allocations: 386.5 kB / 3.176 GB, free: 80.92 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/8.162, allocations: 117.9 kB / 3.176 GB, free: 80.79 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/8.164, allocations: 0.5285 MB / 3.177 GB, free: 80.24 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 4.308e-06/8.164, allocations: 3.984 kB / 3.177 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.004022/8.168, allocations: 1.356 MB / 3.178 GB, free: 78.86 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.427e-05/8.168, allocations: 295.5 kB / 3.178 GB, free: 78.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/8.169, allocations: 0.782 MB / 3.179 GB, free: 77.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002637/8.17, allocations: 25.7 kB / 3.179 GB, free: 77.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005028/8.17, allocations: 0.5428 MB / 3.18 GB, free: 77.13 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/8.17, allocations: 307.4 kB / 3.18 GB, free: 76.83 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/8.171, allocations: 0 / 3.18 GB, free: 76.83 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/8.171, allocations: 349.9 kB / 3.18 GB, free: 76.48 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/8.171, allocations: 306.5 kB / 3.181 GB, free: 76.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008338/8.172, allocations: 0.4908 MB / 3.181 GB, free: 75.62 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/8.173, allocations: 424.3 kB / 3.182 GB, free: 75.21 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/8.173, allocations: 112 / 3.182 GB, free: 75.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003349/8.177, allocations: 1.054 MB / 3.183 GB, free: 74.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002727/8.177, allocations: 1.141 MB / 3.184 GB, free: 72.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/8.177, allocations: 4 kB / 3.184 GB, free: 72.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/8.178, allocations: 124.7 kB / 3.184 GB, free: 72.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/8.18, allocations: 211.7 kB / 3.184 GB, free: 72.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007863/8.181, allocations: 0.6459 MB / 3.185 GB, free: 71.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/8.182, allocations: 79.53 kB / 3.185 GB, free: 71.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/8.183, allocations: 39.98 kB / 3.185 GB, free: 71.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/8.183, allocations: 4 kB / 3.185 GB, free: 71.79 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002112/8.185, allocations: 0.7833 MB / 3.186 GB, free: 71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/8.185, allocations: 4 kB / 3.186 GB, free: 71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/8.185, allocations: 12.42 kB / 3.186 GB, free: 70.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/8.186, allocations: 215.6 kB / 3.186 GB, free: 70.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/8.186, allocations: 4 kB / 3.186 GB, free: 70.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/8.188, allocations: 79.38 kB / 3.186 GB, free: 70.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/8.188, allocations: 39.98 kB / 3.186 GB, free: 70.66 MB / 0.8698 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 () * 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.0003468/8.188, allocations: 132.7 kB / 3.186 GB, free: 70.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/8.189, allocations: 106.7 kB / 3.186 GB, free: 70.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/8.193, allocations: 1.301 MB / 3.187 GB, free: 69.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/8.193, allocations: 12 kB / 3.187 GB, free: 69.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/8.193, allocations: 4 kB / 3.187 GB, free: 69.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/8.193, allocations: 7.969 kB / 3.187 GB, free: 69.08 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006249/8.199, allocations: 2.497 MB / 3.19 GB, free: 66.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/8.199, allocations: 0 / 3.19 GB, free: 66.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/8.201, allocations: 203.6 kB / 3.19 GB, free: 66.31 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/8.202, allocations: 208.8 kB / 3.19 GB, free: 66.11 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/8.202, allocations: 15.98 kB / 3.19 GB, free: 66.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/8.205, allocations: 1.76 MB / 3.192 GB, free: 64.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/8.205, allocations: 8.062 kB / 3.192 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006468/8.212, allocations: 1.415 MB / 3.193 GB, free: 62.71 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/8.214, allocations: 347.4 kB / 3.194 GB, free: 62.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006001/8.214, allocations: 4 kB / 3.194 GB, free: 62.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0027/8.217, allocations: 75.91 kB / 3.194 GB, free: 62.28 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004798/8.217, allocations: 81.09 kB / 3.194 GB, free: 62.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/8.218, allocations: 39.98 kB / 3.194 GB, free: 62.16 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001794/8.22, allocations: 0.6124 MB / 3.194 GB, free: 61.55 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.11e-07/8.22, allocations: 4 kB / 3.194 GB, free: 61.54 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00248/8.222, allocations: 451.8 kB / 3.195 GB, free: 61.1 MB / 0.8698 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) * 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.001606/8.224, allocations: 0.5322 MB / 3.195 GB, free: 60.67 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003313/8.227, allocations: 1.305 MB / 3.197 GB, free: 59.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/8.227, allocations: 4 kB / 3.197 GB, free: 59.36 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/8.228, allocations: 0.6039 MB / 3.197 GB, free: 58.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/8.231, allocations: 278.4 kB / 3.198 GB, free: 58.48 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/8.236, allocations: 1.736 MB / 3.199 GB, free: 56.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008519/8.236, allocations: 1.218 MB / 3.2 GB, free: 55.45 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003176/8.24, allocations: 0.5972 MB / 3.201 GB, free: 54.85 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/8.24, allocations: 87.41 kB / 3.201 GB, free: 54.76 MB / 0.8698 GB Notification: Performance of SimCode: time 1.693e-06/8.24, allocations: 0 / 3.201 GB, free: 54.76 MB / 0.8698 GB Notification: Performance of Templates: time 0.04475/8.285, allocations: 17.03 MB / 3.218 GB, free: 37.84 MB / 0.8698 GB