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.917/4.917, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 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.002555/0.002555, allocations: 354.5 kB / 0.6447 GB, free: 185.6 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.347/4.347, allocations: 410.7 MB / 1.113 GB, free: 5.934 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.001857/0.001857, allocations: 175.5 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007031/0.0007035, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7779, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.00917/0.7871, allocations: 5.926 MB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.9593, allocations: 137.4 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.9605, allocations: 23.88 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007032/0.9613, allocations: 182.8 kB / 1.602 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.964, allocations: 0.5959 MB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.9673, allocations: 0.7935 MB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002344/0.9697, allocations: 1.526 MB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.9712, allocations: 0.8644 MB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007419/0.972, allocations: 430 kB / 1.606 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008381/0.9729, allocations: 0.5243 MB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.973, allocations: 36 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009852/0.974, allocations: 331.4 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.9743, allocations: 282.9 kB / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.9746, allocations: 233 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.9766, allocations: 1.379 MB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.9766, allocations: 4 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.795e-06/0.9767, allocations: 0 / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.9767, 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.003384/0.9801, allocations: 1.408 MB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.9802, allocations: 11.62 kB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.9821, allocations: 270.1 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.9841, allocations: 0.875 MB / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.9842, allocations: 70 kB / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.9844, allocations: 103.9 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.987, allocations: 1.158 MB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.9871, allocations: 3.938 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.9872, allocations: 44 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.24e-05/0.9873, allocations: 57.92 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.9903, allocations: 1.288 MB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008094/0.9984, allocations: 4.34 MB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/1.001, allocations: 0.8031 MB / 1.619 GB, free: 123 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009597/1.002, allocations: 342 kB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/1.002, allocations: 32.69 kB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/1.003, allocations: 469.8 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=80): time 4.949e-06/1.003, allocations: 0 / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=80): time 0.003315/1.006, allocations: 1.077 MB / 1.62 GB, free: 121 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.924e-05/1.006, allocations: 299.4 kB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/1.008, allocations: 0.902 MB / 1.622 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.008, allocations: 41.7 kB / 1.622 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/1.009, allocations: 0.5192 MB / 1.622 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/1.009, allocations: 272.1 kB / 1.622 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/1.009, allocations: 16 kB / 1.622 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.311e-05/1.009, allocations: 341.9 kB / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007994/1.01, allocations: 269.9 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009534/1.011, allocations: 436.5 kB / 1.623 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/1.012, allocations: 330.8 kB / 1.624 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/1.012, allocations: 0 / 1.624 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002436/1.014, allocations: 0.8758 MB / 1.625 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.29e-05/1.014, allocations: 166.8 kB / 1.625 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.014, allocations: 4 kB / 1.625 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002627/1.015, allocations: 34.16 kB / 1.625 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/1.016, allocations: 183.6 kB / 1.625 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/1.017, allocations: 1.289 MB / 1.626 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.019, allocations: 111.3 kB / 1.626 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/1.019, allocations: 43.98 kB / 1.626 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.019, allocations: 4 kB / 1.626 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002071/1.021, allocations: 0.7416 MB / 1.627 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.021, allocations: 4 kB / 1.627 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/1.021, allocations: 8 kB / 1.627 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.022, allocations: 188.1 kB / 1.627 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/1.022, allocations: 11.92 kB / 1.627 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/1.024, allocations: 103 kB / 1.627 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.024, allocations: 43.97 kB / 1.627 GB, free: 113.5 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.0007778/1.024, allocations: 407.1 kB / 1.628 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/1.025, allocations: 112.7 kB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/1.028, allocations: 0.9661 MB / 1.629 GB, free: 112 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.028, allocations: 3.984 kB / 1.629 GB, free: 112 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.028, allocations: 0 / 1.629 GB, free: 112 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006696/1.028, allocations: 319.4 kB / 1.629 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/1.029, allocations: 23.95 kB / 1.629 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.03, allocations: 67.94 kB / 1.629 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/1.03, allocations: 64.91 kB / 1.629 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002474/1.032, allocations: 1.036 MB / 1.63 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003136/1.036, allocations: 1.496 MB / 1.632 GB, free: 109 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008102/1.036, allocations: 343.8 kB / 1.632 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001149/1.038, allocations: 0.6206 MB / 1.633 GB, free: 108 MB / 0.8542 GB Notification: Performance of Backend: time 7.92e-07/1.038, allocations: 3.938 kB / 1.633 GB, free: 108 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00525/1.043, allocations: 1.62 MB / 1.634 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.005257/1.048, allocations: 2.872 MB / 1.637 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.04891/1.097, allocations: 20 MB / 1.657 GB, free: 84.02 MB / 0.8542 GB