Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.353/2.353, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001342, allocations: 180.8 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.376/2.376, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009845/0.0009845, allocations: 97.09 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007009/0.0007011, allocations: 15.3 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2256, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.47/7.696, allocations: 2.221 GB / 3.12 GB, free: 239 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004556/7.697, allocations: 113.4 kB / 3.12 GB, free: 239 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2351/7.932, allocations: 58.93 MB / 3.178 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.436e-06/7.932, allocations: 0 / 3.178 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001713/7.932, allocations: 39.42 kB / 3.178 GB, free: 228.7 MB / 0.8855 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.004909/7.937, allocations: 1.535 MB / 3.179 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/7.937, allocations: 7.844 kB / 3.179 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002799/7.94, allocations: 303.2 kB / 3.18 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002681/7.942, allocations: 0.8353 MB / 3.18 GB, free: 227 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/7.943, allocations: 76.05 kB / 3.18 GB, free: 227 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/7.943, allocations: 105.8 kB / 3.181 GB, free: 227 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003745/7.947, allocations: 1.304 MB / 3.182 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.481e-05/7.947, allocations: 7.875 kB / 3.182 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/7.947, allocations: 45.5 kB / 3.182 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-05/7.947, allocations: 52.17 kB / 3.182 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004131/7.951, allocations: 1.468 MB / 3.183 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/7.961, allocations: 4.733 MB / 3.188 GB, free: 223 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/7.964, allocations: 1.004 MB / 3.189 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/7.966, allocations: 427.3 kB / 3.189 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/7.966, allocations: 129 kB / 3.19 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/7.967, allocations: 0.5887 MB / 3.19 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=94): time 3.957e-06/7.967, allocations: 0 / 3.19 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.00819/7.976, allocations: 2.123 MB / 3.192 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/7.976, allocations: 294.7 kB / 3.192 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/7.978, allocations: 0.9797 MB / 3.193 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003434/7.978, allocations: 40.55 kB / 3.193 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/7.979, allocations: 0.5362 MB / 3.194 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/7.979, allocations: 322.1 kB / 3.194 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/7.979, allocations: 17.72 kB / 3.194 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/7.98, allocations: 351.5 kB / 3.195 GB, free: 220 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/7.981, allocations: 349.9 kB / 3.195 GB, free: 220 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/7.982, allocations: 0.5472 MB / 3.195 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/7.983, allocations: 436.9 kB / 3.196 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/7.983, allocations: 0 / 3.196 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004738/7.988, allocations: 1.22 MB / 3.197 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/7.988, allocations: 178.5 kB / 3.197 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/7.988, allocations: 0 / 3.197 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/7.99, allocations: 265.5 kB / 3.198 GB, free: 219 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/7.992, allocations: 212.1 kB / 3.198 GB, free: 219 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004263/7.997, allocations: 1.983 MB / 3.2 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/7.998, allocations: 103.7 kB / 3.2 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/7.998, allocations: 33.42 kB / 3.2 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/7.998, allocations: 3.219 kB / 3.2 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002619/8.001, allocations: 0.8888 MB / 3.201 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/8.001, allocations: 3.156 kB / 3.201 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/8.001, allocations: 6.781 kB / 3.201 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/8.003, allocations: 217 kB / 3.201 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.889e-05/8.003, allocations: 7.719 kB / 3.201 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/8.004, allocations: 94.34 kB / 3.201 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/8.005, allocations: 37.61 kB / 3.201 GB, free: 217.2 MB / 0.8855 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.001136/8.006, allocations: 433.7 kB / 3.201 GB, free: 217 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004264/8.006, allocations: 112.2 kB / 3.202 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/8.011, allocations: 1.388 MB / 3.203 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/8.011, allocations: 20.72 kB / 3.203 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/8.011, allocations: 0 / 3.203 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/8.011, allocations: 3.984 kB / 3.203 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007823/8.019, allocations: 2.733 MB / 3.206 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/8.019, allocations: 0 / 3.206 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/8.021, allocations: 197.8 kB / 3.206 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/8.022, allocations: 207.1 kB / 3.206 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002601/8.022, allocations: 30.3 kB / 3.206 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002883/8.025, allocations: 1.824 MB / 3.208 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/8.025, allocations: 7.812 kB / 3.208 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/8.03, allocations: 1.4 MB / 3.209 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/8.031, allocations: 360.1 kB / 3.209 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/8.031, allocations: 25.3 kB / 3.21 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/8.033, allocations: 95.25 kB / 3.21 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/8.033, allocations: 80.92 kB / 3.21 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/8.033, allocations: 37.14 kB / 3.21 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001594/8.035, allocations: 0.6992 MB / 3.21 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.81e-07/8.035, allocations: 0 / 3.21 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002994/8.038, allocations: 0.5056 MB / 3.211 GB, free: 212.8 MB / 0.8855 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.002008/8.04, allocations: 0.596 MB / 3.211 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004902/8.045, allocations: 1.55 MB / 3.213 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/8.045, allocations: 0 / 3.213 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001801/8.047, allocations: 0.6556 MB / 3.214 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/8.05, allocations: 321.8 kB / 3.214 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/8.057, allocations: 2.855 MB / 3.217 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008858/8.058, allocations: 1.186 MB / 3.218 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002677/8.06, allocations: 467.4 kB / 3.218 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/8.061, allocations: 115.1 kB / 3.218 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.182e-06/8.061, allocations: 0 / 3.218 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.04664/8.108, allocations: 17.17 MB / 3.235 GB, free: 193.9 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)