Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.581/4.581, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 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.002458/0.002457, allocations: 354.8 kB / 0.644 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 3.944/3.944, allocations: 410.7 MB / 1.112 GB, free: 5.977 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.001736/0.001736, allocations: 179.1 kB / 1.225 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004848, allocations: 12 kB / 1.348 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.566, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.006707/0.5727, allocations: 5.917 MB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1378/0.7106, allocations: 137.4 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008464/0.7115, allocations: 19.88 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.712, allocations: 186.8 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.7137, allocations: 0.5932 MB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.716, allocations: 0.7843 MB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.7175, allocations: 1.534 MB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.7186, allocations: 0.8654 MB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004689/0.7191, allocations: 430 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006623/0.7198, allocations: 0.5172 MB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.7199, allocations: 32 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00079/0.7207, allocations: 327.4 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.721, allocations: 278.9 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.7212, allocations: 241 kB / 1.606 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.7225, allocations: 1.379 MB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.523e-06/0.7225, allocations: 8 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7225, allocations: 0 / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.7225, allocations: 0 / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.00226/0.7248, allocations: 1.4 MB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7248, allocations: 15.62 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.7264, allocations: 274 kB / 1.609 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.7279, allocations: 0.8711 MB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.728, allocations: 74 kB / 1.61 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.7281, allocations: 103.9 kB / 1.61 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.7302, allocations: 1.154 MB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.7303, allocations: 3.938 kB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.7304, allocations: 47.92 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.704e-05/0.7305, allocations: 53.98 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.7328, allocations: 1.288 MB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006228/0.7391, allocations: 4.349 MB / 1.617 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.741, allocations: 0.8031 MB / 1.618 GB, free: 123 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007304/0.7417, allocations: 340.6 kB / 1.618 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.666e-05/0.7418, allocations: 28.69 kB / 1.618 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008452/0.7427, allocations: 466.4 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=80): time 4.907e-06/0.7427, allocations: 1.641 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=80): time 0.002471/0.7452, allocations: 1.081 MB / 1.62 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.7453, allocations: 295.4 kB / 1.62 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.7465, allocations: 0.902 MB / 1.621 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.995e-05/0.7466, allocations: 41.7 kB / 1.621 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.747, allocations: 0.5153 MB / 1.621 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.7472, allocations: 272.1 kB / 1.622 GB, free: 119 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.7473, allocations: 19.94 kB / 1.622 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.7473, allocations: 345.9 kB / 1.622 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.748, allocations: 265.8 kB / 1.622 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/0.7487, allocations: 436.5 kB / 1.623 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007065/0.7495, allocations: 338.9 kB / 1.623 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.765e-06/0.7495, allocations: 0 / 1.623 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001867/0.7513, allocations: 0.8721 MB / 1.624 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.164e-05/0.7514, allocations: 170.5 kB / 1.624 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.7515, allocations: 4 kB / 1.624 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.7517, allocations: 32.78 kB / 1.624 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008789/0.7526, allocations: 195.7 kB / 1.624 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009929/0.7536, allocations: 1.279 MB / 1.626 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008886/0.7545, allocations: 107.2 kB / 1.626 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.7546, allocations: 44.08 kB / 1.626 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.962e-06/0.7546, allocations: 4 kB / 1.626 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001593/0.7562, allocations: 0.7417 MB / 1.626 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.618e-06/0.7562, allocations: 4 kB / 1.626 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.7563, allocations: 8 kB / 1.626 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.7571, allocations: 183.8 kB / 1.627 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.7572, allocations: 11.92 kB / 1.627 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/0.758, allocations: 107.4 kB / 1.627 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.7581, allocations: 36.08 kB / 1.627 GB, free: 113.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006133/0.7587, allocations: 414.2 kB / 1.627 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.7589, allocations: 106.7 kB / 1.627 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.7611, allocations: 0.9778 MB / 1.628 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.7611, allocations: 8 kB / 1.628 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.41e-06/0.7611, allocations: 0 / 1.628 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.7611, allocations: 7.984 kB / 1.628 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/0.7645, allocations: 2.206 MB / 1.63 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.108e-06/0.7645, allocations: 4 kB / 1.63 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.7653, allocations: 155.8 kB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/0.7654, allocations: 32.97 kB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.7655, allocations: 23.98 kB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008005/0.7663, allocations: 1.274 MB / 1.632 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.982e-06/0.7664, allocations: 0 / 1.632 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.7683, allocations: 0.9524 MB / 1.633 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004954/0.7688, allocations: 307.3 kB / 1.633 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.769, allocations: 20 kB / 1.633 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008726/0.7698, allocations: 75.94 kB / 1.633 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.77, allocations: 68.91 kB / 1.633 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.959e-05/0.7701, allocations: 35.98 kB / 1.633 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009031/0.771, allocations: 0.6206 MB / 1.634 GB, free: 106 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.642e-06/0.771, allocations: 0 / 1.634 GB, free: 106 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001494/0.7725, allocations: 0.5217 MB / 1.634 GB, free: 105.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/0.7742, allocations: 0.5495 MB / 1.635 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002357/0.7765, allocations: 1.217 MB / 1.636 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.031e-06/0.7766, allocations: 0 / 1.636 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.7774, allocations: 496.3 kB / 1.637 GB, free: 103.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.7789, allocations: 311.7 kB / 1.637 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.7825, allocations: 2.493 MB / 1.639 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.7832, allocations: 1.165 MB / 1.64 GB, free: 99.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001553/0.7848, allocations: 395.8 kB / 1.641 GB, free: 99.01 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.7851, allocations: 111.4 kB / 1.641 GB, free: 98.9 MB / 0.8542 GB Notification: Performance of SimCode: time 2.058e-06/0.7851, allocations: 3.938 kB / 1.641 GB, free: 98.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.03039/0.8155, allocations: 14.27 MB / 1.655 GB, free: 84.88 MB / 0.8542 GB