Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.569/2.569, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001558/0.001557, allocations: 182.4 kB / 325.6 MB, free: 2.82 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.458/2.458, 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.001184/0.001183, allocations: 88.86 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004768, allocations: 12.34 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2177, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.008931/0.2267, allocations: 5.787 MB / 0.9045 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2028/0.4295, allocations: 128.4 MB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.4307, allocations: 19.88 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007447/0.4315, allocations: 190.8 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.4342, allocations: 0.6035 MB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.4377, allocations: 0.7934 MB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002571/0.4403, allocations: 0.9897 MB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.4421, allocations: 0.8643 MB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009469/0.4431, allocations: 418.2 kB / 1.034 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009363/0.444, allocations: 445.9 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.4442, allocations: 36 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.4454, allocations: 307.6 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004313/0.4458, allocations: 275 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.4462, allocations: 233 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.4489, allocations: 1.376 MB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4489, allocations: 0 / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4489, allocations: 0 / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.804e-05/0.449, allocations: 0 / 1.036 GB, free: 4.41 MB / 0.6823 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.003878/0.4529, allocations: 1.408 MB / 1.038 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4529, allocations: 8.031 kB / 1.038 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/0.4551, allocations: 278 kB / 1.038 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.4576, allocations: 0.8789 MB / 1.039 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.985e-05/0.4578, allocations: 70 kB / 1.039 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002296/0.458, allocations: 96 kB / 1.039 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.4612, allocations: 1.15 MB / 1.04 GB, free: 368 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.4612, allocations: 0 / 1.04 GB, free: 368 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.4614, allocations: 44 kB / 1.04 GB, free: 324 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.4615, allocations: 57.97 kB / 1.04 GB, free: 268 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00363/0.4652, allocations: 1.284 MB / 1.041 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.4754, allocations: 4.34 MB / 1.046 GB, free: 10.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.4783, allocations: 0.8187 MB / 1.046 GB, free: 9.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.4784, allocations: 28.69 kB / 1.046 GB, free: 9.562 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/0.4797, allocations: 477.8 kB / 1.047 GB, free: 9.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.467e-06/0.4797, allocations: 3.938 kB / 1.047 GB, free: 9.066 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.003738/0.4835, allocations: 1.081 MB / 1.048 GB, free: 7.957 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.4837, allocations: 299.5 kB / 1.048 GB, free: 7.598 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.4856, allocations: 0.8984 MB / 1.049 GB, free: 6.672 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.4858, allocations: 37.7 kB / 1.049 GB, free: 6.629 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000641/0.4865, allocations: 0.5309 MB / 1.05 GB, free: 6.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.4869, allocations: 268.1 kB / 1.05 GB, free: 5.824 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.487, allocations: 19.94 kB / 1.05 GB, free: 5.805 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4871, allocations: 341.9 kB / 1.05 GB, free: 5.465 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000871/0.488, allocations: 245.9 kB / 1.051 GB, free: 5.223 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.4892, allocations: 428 kB / 1.051 GB, free: 4.746 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.4902, allocations: 322.8 kB / 1.051 GB, free: 4.434 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.4902, allocations: 0 / 1.051 GB, free: 4.434 MB / 0.698 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002705/0.493, allocations: 0.8292 MB / 1.052 GB, free: 3.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004959/0.4935, allocations: 1.055 MB / 1.053 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.4935, allocations: 4 kB / 1.053 GB, free: 2.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.4938, allocations: 32.83 kB / 1.053 GB, free: 2.418 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.4952, allocations: 175.8 kB / 1.053 GB, free: 2.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.4969, allocations: 1.299 MB / 1.055 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.4982, allocations: 99.23 kB / 1.055 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.4983, allocations: 40.17 kB / 1.055 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4984, allocations: 6.344 kB / 1.055 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.632/1.13, allocations: 0.6845 MB / 1.055 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/1.13, allocations: 3.344 kB / 1.055 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/1.13, allocations: 10.16 kB / 1.055 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/1.132, allocations: 180.6 kB / 1.056 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/1.132, allocations: 6.844 kB / 1.056 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.133, allocations: 102.2 kB / 1.056 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.134, allocations: 30.5 kB / 1.056 GB, free: 154.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (95): * Single equations (assignments): 94 * 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.0009957/1.135, allocations: 405 kB / 1.056 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/1.135, allocations: 107.3 kB / 1.056 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003247/1.138, allocations: 0.9847 MB / 1.057 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.138, allocations: 14.81 kB / 1.057 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.138, allocations: 0 / 1.057 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/1.138, allocations: 3.281 kB / 1.057 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/1.141, allocations: 1.298 MB / 1.058 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.141, allocations: 1.094 kB / 1.058 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/1.142, allocations: 159.3 kB / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/1.142, allocations: 29 kB / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/1.143, allocations: 21.23 kB / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000978/1.144, allocations: 1.28 MB / 1.06 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.144, allocations: 2.938 kB / 1.06 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/1.146, allocations: 0.894 MB / 1.061 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008538/1.147, allocations: 316.4 kB / 1.061 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/1.147, allocations: 21.12 kB / 1.061 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.149, allocations: 76.41 kB / 1.061 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/1.149, allocations: 69.77 kB / 1.061 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.149, allocations: 32.66 kB / 1.061 GB, free: 152 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001374/1.15, allocations: 0.625 MB / 1.062 GB, free: 151.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.42e-07/1.15, allocations: 0 / 1.062 GB, free: 151.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002117/1.153, allocations: 0.5052 MB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (91): * Single equations (assignments): 88 * 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.001751/1.154, allocations: 0.5619 MB / 1.063 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003731/1.158, allocations: 1.153 MB / 1.064 GB, free: 151.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.158, allocations: 2.672 kB / 1.064 GB, free: 151.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/1.16, allocations: 490.4 kB / 1.064 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.162, allocations: 292.4 kB / 1.065 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006624/1.169, allocations: 2.469 MB / 1.067 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.17, allocations: 1.162 MB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002567/1.173, allocations: 400.2 kB / 1.069 GB, free: 149.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005961/1.173, allocations: 111.1 kB / 1.069 GB, free: 149.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/1.173, allocations: 0 / 1.069 GB, free: 149.3 MB / 0.698 GB Notification: Performance of Templates: time 0.04597/1.219, allocations: 14.25 MB / 1.083 GB, free: 144.4 MB / 0.698 GB