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.282/2.282, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.002208/0.002208, allocations: 185.6 kB / 325.6 MB, free: 2.824 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.402/2.402, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.00159/0.00159, allocations: 90.41 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006822/0.0006822, allocations: 11.59 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2338, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.009433/0.2433, allocations: 6.084 MB / 0.9048 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2064/0.4497, allocations: 128.8 MB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.4509, allocations: 23.81 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007897/0.4517, allocations: 186.9 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.4546, allocations: 0.667 MB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.4582, allocations: 0.8394 MB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002721/0.461, allocations: 1.021 MB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.4642, allocations: 1.258 MB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.4653, allocations: 442.2 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.4663, allocations: 477.8 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.4665, allocations: 40 kB / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.4678, allocations: 359.5 kB / 1.036 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005099/0.4684, allocations: 298.9 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003887/0.4688, allocations: 249 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.4716, allocations: 1.531 MB / 1.038 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4716, allocations: 0 / 1.038 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4717, allocations: 3.938 kB / 1.038 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.465e-05/0.4717, allocations: 0 / 1.038 GB, free: 2.859 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.004092/0.4758, allocations: 1.463 MB / 1.039 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.4759, allocations: 12.03 kB / 1.039 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.4782, allocations: 301.8 kB / 1.039 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.4808, allocations: 0.9258 MB / 1.04 GB, free: 64 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.481, allocations: 74.11 kB / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/0.4812, allocations: 103.9 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/0.4847, allocations: 1.306 MB / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.492e-05/0.4848, allocations: 0 / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.485, allocations: 48 kB / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.4851, allocations: 65.97 kB / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004471/0.4896, allocations: 1.456 MB / 1.043 GB, free: 12.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01688/0.5066, allocations: 4.706 MB / 1.048 GB, free: 7.965 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004884/0.5115, allocations: 1.023 MB / 1.049 GB, free: 6.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.512, allocations: 118.1 kB / 1.049 GB, free: 6.797 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002468/0.5145, allocations: 0.5767 MB / 1.05 GB, free: 6.199 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 6.793e-06/0.5145, allocations: 0 / 1.05 GB, free: 6.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.01349/0.5281, allocations: 2.116 MB / 1.052 GB, free: 4.051 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/0.5283, allocations: 244.3 kB / 1.052 GB, free: 3.758 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/0.531, allocations: 0.9024 MB / 1.053 GB, free: 2.828 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003026/0.5314, allocations: 41.7 kB / 1.053 GB, free: 2.781 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009536/0.5324, allocations: 0.5389 MB / 1.053 GB, free: 2.234 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006421/0.533, allocations: 323.3 kB / 1.054 GB, free: 1.914 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.5332, allocations: 16 kB / 1.054 GB, free: 1.898 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.5334, allocations: 338 kB / 1.054 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.535, allocations: 349.8 kB / 1.054 GB, free: 1.219 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.537, allocations: 0.5364 MB / 1.055 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.5388, allocations: 438.8 kB / 1.055 GB, free: 200 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.5388, allocations: 4 kB / 1.055 GB, free: 196 kB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.6181/1.157, allocations: 1.209 MB / 1.056 GB, free: 154.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003186/1.157, allocations: 1.234 MB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.157, allocations: 5.469 kB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/1.159, allocations: 266 kB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/1.161, allocations: 204.3 kB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004428/1.166, allocations: 2.028 MB / 1.06 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.167, allocations: 114.3 kB / 1.06 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/1.168, allocations: 33.45 kB / 1.06 GB, free: 151.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/1.168, allocations: 5.812 kB / 1.06 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002607/1.17, allocations: 0.8923 MB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.17, allocations: 6.672 kB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.17, allocations: 6.875 kB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/1.172, allocations: 211.3 kB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/1.172, allocations: 8.578 kB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.173, allocations: 104 kB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/1.174, allocations: 44.27 kB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (108): * Single equations (assignments): 107 * 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.001006/1.175, allocations: 419 kB / 1.062 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/1.175, allocations: 111.1 kB / 1.062 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005025/1.18, allocations: 1.397 MB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/1.18, allocations: 11.31 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.18, allocations: 0 / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/1.18, allocations: 7.844 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007955/1.188, allocations: 2.672 MB / 1.066 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/1.188, allocations: 1.844 kB / 1.066 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/1.19, allocations: 191.1 kB / 1.066 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/1.191, allocations: 213.3 kB / 1.066 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/1.192, allocations: 30.89 kB / 1.066 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/1.195, allocations: 1.878 MB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.195, allocations: 3.734 kB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004575/1.2, allocations: 1.477 MB / 1.07 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.201, allocations: 346.5 kB / 1.07 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/1.201, allocations: 20.31 kB / 1.07 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.203, allocations: 105.4 kB / 1.07 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/1.203, allocations: 79.83 kB / 1.07 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/1.203, allocations: 38.62 kB / 1.07 GB, free: 149 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001611/1.205, allocations: 0.6319 MB / 1.071 GB, free: 148.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.8e-07/1.205, allocations: 0 / 1.071 GB, free: 148.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002608/1.207, allocations: 457.6 kB / 1.071 GB, free: 148.9 MB / 0.698 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.001808/1.209, allocations: 0.5692 MB / 1.072 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004877/1.214, allocations: 1.542 MB / 1.073 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/1.214, allocations: 1.062 kB / 1.073 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/1.217, allocations: 0.6544 MB / 1.074 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/1.219, allocations: 291.3 kB / 1.074 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006751/1.226, allocations: 2.809 MB / 1.077 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.228, allocations: 1.218 MB / 1.078 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004028/1.232, allocations: 450 kB / 1.079 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.233, allocations: 120.4 kB / 1.079 GB, free: 146.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.582e-06/1.233, allocations: 0 / 1.079 GB, free: 146.2 MB / 0.698 GB Notification: Performance of Templates: time 0.07502/1.308, allocations: 16.71 MB / 1.095 GB, free: 135 MB / 0.698 GB