Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 293 MB / 309 MB, free: 4.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009832/0.0009832, allocations: 172.6 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 0.6383 GB, free: 8.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007792/0.0007788, allocations: 89.75 kB / 0.7527 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005053, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3117, allocations: 116.4 MB / 0.9905 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.373/5.685, allocations: 2.104 GB / 3.094 GB, free: 111 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004309/5.685, allocations: 112.5 kB / 3.094 GB, free: 110.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1354/5.82, allocations: 58.96 MB / 3.152 GB, free: 51.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.035e-06/5.821, allocations: 0 / 3.152 GB, free: 51.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000165/5.821, allocations: 28 kB / 3.152 GB, free: 51.83 MB / 0.948 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.00427/5.825, allocations: 1.524 MB / 3.153 GB, free: 50.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/5.825, allocations: 8.031 kB / 3.153 GB, free: 50.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/5.827, allocations: 302.9 kB / 3.154 GB, free: 49.94 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/5.829, allocations: 0.8733 MB / 3.155 GB, free: 49.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/5.829, allocations: 78.48 kB / 3.155 GB, free: 48.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/5.829, allocations: 108.3 kB / 3.155 GB, free: 48.84 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/5.831, allocations: 1.301 MB / 3.156 GB, free: 47.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/5.831, allocations: 11.88 kB / 3.156 GB, free: 47.44 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.686e-05/5.831, allocations: 48 kB / 3.156 GB, free: 47.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.033e-05/5.831, allocations: 53.97 kB / 3.156 GB, free: 47.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/5.833, allocations: 1.459 MB / 3.158 GB, free: 45.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00554/5.838, allocations: 4.728 MB / 3.162 GB, free: 40.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/5.84, allocations: 1.004 MB / 3.163 GB, free: 39.87 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005711/5.84, allocations: 442.8 kB / 3.164 GB, free: 39.44 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/5.841, allocations: 118 kB / 3.164 GB, free: 39.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007732/5.841, allocations: 0.5844 MB / 3.164 GB, free: 38.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.045e-06/5.841, allocations: 0 / 3.164 GB, free: 38.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004397/5.846, allocations: 2.111 MB / 3.166 GB, free: 36.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/5.846, allocations: 307.7 kB / 3.167 GB, free: 36.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/5.847, allocations: 0.978 MB / 3.168 GB, free: 35.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/5.847, allocations: 45.7 kB / 3.168 GB, free: 35.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/5.848, allocations: 0.5428 MB / 3.168 GB, free: 34.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/5.848, allocations: 315.4 kB / 3.168 GB, free: 34.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/5.848, allocations: 20 kB / 3.168 GB, free: 34.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/5.848, allocations: 341.9 kB / 3.169 GB, free: 33.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/5.849, allocations: 349.8 kB / 3.169 GB, free: 33.56 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/5.849, allocations: 0.5564 MB / 3.17 GB, free: 32.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/5.85, allocations: 0.8816 MB / 3.171 GB, free: 32.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/5.85, allocations: 0 / 3.171 GB, free: 32.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00233/5.853, allocations: 1.215 MB / 3.172 GB, free: 30.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.803e-05/5.853, allocations: 183.3 kB / 3.172 GB, free: 30.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/5.853, allocations: 4 kB / 3.172 GB, free: 30.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/5.854, allocations: 260.5 kB / 3.172 GB, free: 30.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000775/5.855, allocations: 207.7 kB / 3.172 GB, free: 30.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/5.857, allocations: 1.982 MB / 3.174 GB, free: 28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009811/5.858, allocations: 107.4 kB / 3.174 GB, free: 27.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/5.858, allocations: 39.98 kB / 3.174 GB, free: 27.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/5.858, allocations: 4 kB / 3.174 GB, free: 27.85 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/5.86, allocations: 0.8861 MB / 3.175 GB, free: 26.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/5.86, allocations: 7.938 kB / 3.175 GB, free: 26.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/5.86, allocations: 8.375 kB / 3.175 GB, free: 26.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/5.86, allocations: 211.7 kB / 3.176 GB, free: 26.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/5.86, allocations: 4.094 kB / 3.176 GB, free: 26.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008564/5.861, allocations: 107.3 kB / 3.176 GB, free: 26.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/5.861, allocations: 35.98 kB / 3.176 GB, free: 26.59 MB / 0.948 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 () * Number of clocked 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.0007605/5.862, allocations: 428.8 kB / 3.176 GB, free: 26.16 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/5.862, allocations: 110.7 kB / 3.176 GB, free: 26.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/5.865, allocations: 1.384 MB / 3.178 GB, free: 24.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/5.865, allocations: 15.94 kB / 3.178 GB, free: 24.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/5.865, allocations: 4 kB / 3.178 GB, free: 24.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/5.865, allocations: 3.984 kB / 3.178 GB, free: 24.63 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/5.869, allocations: 2.728 MB / 3.18 GB, free: 21.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/5.869, allocations: 4 kB / 3.18 GB, free: 21.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007077/5.87, allocations: 191.8 kB / 3.18 GB, free: 21.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007229/5.871, allocations: 208.6 kB / 3.181 GB, free: 21.43 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.88e-05/5.871, allocations: 27.98 kB / 3.181 GB, free: 21.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/5.873, allocations: 1.835 MB / 3.182 GB, free: 19.44 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/5.873, allocations: 7.938 kB / 3.182 GB, free: 19.43 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/5.875, allocations: 1.404 MB / 3.184 GB, free: 17.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008414/5.876, allocations: 355.2 kB / 3.184 GB, free: 17.62 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/5.877, allocations: 24 kB / 3.184 GB, free: 17.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009495/5.877, allocations: 95.89 kB / 3.184 GB, free: 17.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/5.878, allocations: 76.83 kB / 3.184 GB, free: 17.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/5.878, allocations: 35.98 kB / 3.184 GB, free: 17.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001183/5.879, allocations: 0.7031 MB / 3.185 GB, free: 16.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.92e-07/5.879, allocations: 0 / 3.185 GB, free: 16.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002242/5.881, allocations: 0.5037 MB / 3.186 GB, free: 16.17 MB / 0.948 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.001628/5.883, allocations: 0.5909 MB / 3.186 GB, free: 15.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002883/5.886, allocations: 1.546 MB / 3.188 GB, free: 14.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/5.886, allocations: 4 kB / 3.188 GB, free: 14.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/5.887, allocations: 0.653 MB / 3.188 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/5.889, allocations: 309.5 kB / 3.189 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/5.894, allocations: 2.862 MB / 3.191 GB, free: 10.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009139/5.895, allocations: 1.182 MB / 3.193 GB, free: 9.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001774/5.897, allocations: 460.1 kB / 3.193 GB, free: 8.617 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/5.897, allocations: 123.4 kB / 3.193 GB, free: 8.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/5.897, allocations: 0 / 3.193 GB, free: 8.5 MB / 0.948 GB Notification: Performance of Templates: time 0.5127/6.41, allocations: 17.37 MB / 3.21 GB, free: 245.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)