Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.519/2.519, allocations: 287.5 MB / 303.2 MB, free: 8.227 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.001357/0.001357, allocations: 177 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009428/0.0009425, allocations: 89.44 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007655/0.0007657, allocations: 15.55 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2252, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.592/6.817, allocations: 2.103 GB / 3.082 GB, free: 194.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/6.817, allocations: 119.9 kB / 3.082 GB, free: 194.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2244/7.042, allocations: 58.92 MB / 3.14 GB, free: 134.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.466e-06/7.042, allocations: 0 / 3.14 GB, free: 134.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001389/7.042, allocations: 43.88 kB / 3.14 GB, free: 134.8 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.004263/7.046, allocations: 1.525 MB / 3.141 GB, free: 133.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/7.046, allocations: 12.03 kB / 3.141 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/7.049, allocations: 294.9 kB / 3.141 GB, free: 132.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/7.052, allocations: 0.8772 MB / 3.142 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/7.052, allocations: 78.48 kB / 3.142 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/7.052, allocations: 104.4 kB / 3.142 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/7.056, allocations: 1.307 MB / 3.144 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.298e-05/7.056, allocations: 3.938 kB / 3.144 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/7.056, allocations: 44 kB / 3.144 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-05/7.056, allocations: 53.98 kB / 3.144 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003846/7.06, allocations: 1.471 MB / 3.145 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009359/7.069, allocations: 4.72 MB / 3.15 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/7.072, allocations: 1.011 MB / 3.151 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/7.073, allocations: 440.4 kB / 3.151 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/7.074, allocations: 122 kB / 3.151 GB, free: 122.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001369/7.075, allocations: 0.5805 MB / 3.152 GB, free: 121.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.586e-06/7.075, allocations: 0 / 3.152 GB, free: 121.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.00758/7.083, allocations: 2.127 MB / 3.154 GB, free: 119.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/7.083, allocations: 299.7 kB / 3.154 GB, free: 119.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/7.085, allocations: 0.9741 MB / 3.155 GB, free: 118.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/7.085, allocations: 41.7 kB / 3.155 GB, free: 118.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004962/7.085, allocations: 0.5389 MB / 3.156 GB, free: 117.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/7.086, allocations: 315.4 kB / 3.156 GB, free: 117.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/7.086, allocations: 20 kB / 3.156 GB, free: 117.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/7.086, allocations: 345.9 kB / 3.156 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/7.087, allocations: 349.8 kB / 3.157 GB, free: 116.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/7.088, allocations: 0.5485 MB / 3.157 GB, free: 115.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/7.09, allocations: 0.8932 MB / 3.158 GB, free: 115 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/7.09, allocations: 0 / 3.158 GB, free: 115 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004117/7.095, allocations: 1.219 MB / 3.159 GB, free: 113.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/7.095, allocations: 177.8 kB / 3.16 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/7.095, allocations: 4 kB / 3.16 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/7.097, allocations: 260.5 kB / 3.16 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/7.098, allocations: 207.7 kB / 3.16 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004081/7.103, allocations: 1.977 MB / 3.162 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/7.104, allocations: 111.3 kB / 3.162 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/7.104, allocations: 39.98 kB / 3.162 GB, free: 110.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/7.104, allocations: 4 kB / 3.162 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002385/7.107, allocations: 0.89 MB / 3.163 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/7.107, allocations: 0 / 3.163 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/7.107, allocations: 8 kB / 3.163 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/7.108, allocations: 211.7 kB / 3.163 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/7.108, allocations: 11.98 kB / 3.163 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/7.11, allocations: 103.8 kB / 3.163 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/7.11, allocations: 39.98 kB / 3.163 GB, free: 109.6 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.0009822/7.111, allocations: 424.8 kB / 3.164 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/7.111, allocations: 106.7 kB / 3.164 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/7.116, allocations: 1.384 MB / 3.165 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/7.116, allocations: 11.94 kB / 3.165 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/7.116, allocations: 7.938 kB / 3.165 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/7.116, allocations: 7.922 kB / 3.165 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006459/7.122, allocations: 2.722 MB / 3.168 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/7.122, allocations: 0 / 3.168 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/7.124, allocations: 203.9 kB / 3.168 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/7.125, allocations: 212.6 kB / 3.168 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/7.125, allocations: 23.98 kB / 3.168 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/7.128, allocations: 1.831 MB / 3.17 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/7.128, allocations: 0 / 3.17 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/7.132, allocations: 1.4 MB / 3.171 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008914/7.133, allocations: 355.2 kB / 3.172 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/7.133, allocations: 24 kB / 3.172 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/7.134, allocations: 99.89 kB / 3.172 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/7.135, allocations: 80.78 kB / 3.172 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/7.135, allocations: 43.97 kB / 3.172 GB, free: 100.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001353/7.136, allocations: 0.6953 MB / 3.173 GB, free: 99.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/7.136, allocations: 0 / 3.173 GB, free: 99.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00259/7.139, allocations: 0.5037 MB / 3.173 GB, free: 99.16 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.001807/7.141, allocations: 0.6081 MB / 3.174 GB, free: 98.72 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004706/7.145, allocations: 1.537 MB / 3.175 GB, free: 97.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/7.145, allocations: 4.188 kB / 3.175 GB, free: 97.17 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/7.147, allocations: 0.6485 MB / 3.176 GB, free: 96.51 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/7.151, allocations: 310.9 kB / 3.176 GB, free: 96.21 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/7.157, allocations: 2.863 MB / 3.179 GB, free: 93.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008295/7.157, allocations: 1.182 MB / 3.18 GB, free: 92.08 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002509/7.16, allocations: 472.1 kB / 3.181 GB, free: 91.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/7.16, allocations: 111.4 kB / 3.181 GB, free: 91.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/7.161, allocations: 0 / 3.181 GB, free: 91.5 MB / 0.948 GB Notification: Performance of Templates: time 0.04219/7.203, allocations: 17.2 MB / 3.198 GB, free: 74.41 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)