Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.499/2.499, allocations: 253.2 MB / 260.6 MB, free: 7.469 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.001481/0.001481, allocations: 181.7 kB / 319.9 MB, free: 3.094 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.175/2.175, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001085/0.001085, allocations: 94.62 kB / 0.6751 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.074e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2183, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.459/7.677, allocations: 2.225 GB / 3.114 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003872/7.677, allocations: 107.7 kB / 3.114 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2403/7.918, allocations: 61.84 MB / 3.174 GB, free: 83.93 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.325e-06/7.918, allocations: 0 / 3.174 GB, free: 83.93 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001353/7.918, allocations: 32 kB / 3.174 GB, free: 83.9 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.00367/7.922, allocations: 1.369 MB / 3.175 GB, free: 82.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/7.922, allocations: 16.02 kB / 3.175 GB, free: 82.46 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/7.924, allocations: 309.8 kB / 3.176 GB, free: 82.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/7.927, allocations: 0.8378 MB / 3.176 GB, free: 81.27 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/7.927, allocations: 32 kB / 3.177 GB, free: 81.24 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/7.927, allocations: 60 kB / 3.177 GB, free: 81.18 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003022/7.93, allocations: 1.284 MB / 3.178 GB, free: 79.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/7.933, allocations: 1.111 MB / 3.179 GB, free: 78.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/7.933, allocations: 3.938 kB / 3.179 GB, free: 78.69 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/7.933, allocations: 12 kB / 3.179 GB, free: 78.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-05/7.934, allocations: 49.98 kB / 3.179 GB, free: 78.63 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01116/7.945, allocations: 4.516 MB / 3.183 GB, free: 73.88 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/7.948, allocations: 0.9186 MB / 3.184 GB, free: 72.95 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/7.949, allocations: 387.9 kB / 3.185 GB, free: 72.56 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004084/7.95, allocations: 129.8 kB / 3.185 GB, free: 72.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/7.951, allocations: 0.5208 MB / 3.185 GB, free: 71.87 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 6.031e-06/7.951, allocations: 0 / 3.185 GB, free: 71.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.005732/7.957, allocations: 1.368 MB / 3.187 GB, free: 70.48 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/7.957, allocations: 291.5 kB / 3.187 GB, free: 70.13 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/7.96, allocations: 0.778 MB / 3.188 GB, free: 69.35 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003117/7.96, allocations: 25.7 kB / 3.188 GB, free: 69.32 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007044/7.961, allocations: 0.5428 MB / 3.188 GB, free: 68.77 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/7.961, allocations: 307.4 kB / 3.189 GB, free: 68.46 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/7.961, allocations: 0 / 3.189 GB, free: 68.46 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001202/7.961, allocations: 341.9 kB / 3.189 GB, free: 68.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/7.962, allocations: 314.5 kB / 3.189 GB, free: 67.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/7.964, allocations: 0.4947 MB / 3.19 GB, free: 67.25 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/7.965, allocations: 416.3 kB / 3.19 GB, free: 66.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/7.965, allocations: 4 kB / 3.19 GB, free: 66.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00479/7.97, allocations: 1.054 MB / 3.191 GB, free: 65.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003327/7.971, allocations: 1.145 MB / 3.192 GB, free: 64.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/7.971, allocations: 7.938 kB / 3.192 GB, free: 64.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/7.972, allocations: 124.7 kB / 3.192 GB, free: 64.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/7.974, allocations: 207.7 kB / 3.192 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/7.976, allocations: 0.6421 MB / 3.193 GB, free: 63.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/7.978, allocations: 83.45 kB / 3.193 GB, free: 63.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/7.978, allocations: 35.98 kB / 3.193 GB, free: 63.42 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/7.978, allocations: 7.953 kB / 3.193 GB, free: 63.41 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003213/7.981, allocations: 0.7795 MB / 3.194 GB, free: 62.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/7.981, allocations: 4 kB / 3.194 GB, free: 62.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/7.981, allocations: 8.109 kB / 3.194 GB, free: 62.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/7.983, allocations: 219.6 kB / 3.194 GB, free: 62.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/7.984, allocations: 8 kB / 3.194 GB, free: 62.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/7.985, allocations: 83.75 kB / 3.194 GB, free: 62.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/7.986, allocations: 39.92 kB / 3.194 GB, free: 62.28 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.000452/7.986, allocations: 127.2 kB / 3.194 GB, free: 62.15 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/7.986, allocations: 110.6 kB / 3.195 GB, free: 62.04 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00593/7.992, allocations: 1.305 MB / 3.196 GB, free: 60.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/7.992, allocations: 12 kB / 3.196 GB, free: 60.71 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/7.992, allocations: 0 / 3.196 GB, free: 60.71 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/7.992, allocations: 3.984 kB / 3.196 GB, free: 60.71 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009341/8.002, allocations: 2.505 MB / 3.198 GB, free: 58.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/8.002, allocations: 4 kB / 3.198 GB, free: 58.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/8.004, allocations: 195.9 kB / 3.199 GB, free: 57.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/8.006, allocations: 204.6 kB / 3.199 GB, free: 57.74 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/8.006, allocations: 23.98 kB / 3.199 GB, free: 57.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003569/8.01, allocations: 1.756 MB / 3.2 GB, free: 55.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/8.01, allocations: 0 / 3.2 GB, free: 55.85 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004948/8.015, allocations: 1.419 MB / 3.202 GB, free: 54.35 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/8.016, allocations: 351.4 kB / 3.202 GB, free: 53.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/8.016, allocations: 4 kB / 3.202 GB, free: 53.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/8.018, allocations: 75.89 kB / 3.202 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/8.019, allocations: 81.11 kB / 3.202 GB, free: 53.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/8.019, allocations: 39.97 kB / 3.202 GB, free: 53.79 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001632/8.02, allocations: 0.6124 MB / 3.203 GB, free: 53.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.81e-07/8.02, allocations: 0 / 3.203 GB, free: 53.18 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003519/8.024, allocations: 451.8 kB / 3.203 GB, free: 52.73 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.002293/8.026, allocations: 0.5328 MB / 3.204 GB, free: 52.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004491/8.031, allocations: 1.313 MB / 3.205 GB, free: 50.99 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/8.031, allocations: 0 / 3.205 GB, free: 50.99 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/8.033, allocations: 0.6006 MB / 3.206 GB, free: 50.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/8.036, allocations: 271.2 kB / 3.206 GB, free: 50.12 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/8.042, allocations: 1.74 MB / 3.208 GB, free: 48.33 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/8.043, allocations: 1.214 MB / 3.209 GB, free: 47.08 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00427/8.048, allocations: 0.5972 MB / 3.209 GB, free: 46.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000519/8.048, allocations: 95.39 kB / 3.21 GB, free: 46.39 MB / 0.8698 GB Notification: Performance of SimCode: time 1.162e-06/8.048, allocations: 3.938 kB / 3.21 GB, free: 46.38 MB / 0.8698 GB Notification: Performance of Templates: time 0.05633/8.105, allocations: 17.02 MB / 3.226 GB, free: 29.48 MB / 0.8698 GB