Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.32/2.32, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 194.9 kB / 499.1 MB, free: 4.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 103.5 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 52.14 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3189, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.00853/0.3275, allocations: 7.028 MB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1521/0.4796, allocations: 149.9 MB / 1.371 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.4811, allocations: 23.88 kB / 1.371 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002434/0.4836, allocations: 0.6532 MB / 1.372 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.4868, allocations: 0.7079 MB / 1.373 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.4899, allocations: 0.9373 MB / 1.374 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.4926, allocations: 1.85 MB / 1.375 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.4951, allocations: 1.202 MB / 1.377 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.4963, allocations: 0.5485 MB / 1.377 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.4976, allocations: 0.6885 MB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004187/0.4981, allocations: 76 kB / 1.378 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.4998, allocations: 0.6865 MB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.5004, allocations: 386.7 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.5015, allocations: 0.6407 MB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.5045, allocations: 2.072 MB / 1.382 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5045, allocations: 4 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.905e-06/0.5045, allocations: 0 / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.602e-05/0.5046, allocations: 3.938 kB / 1.382 GB, free: 13.16 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003238/0.5078, allocations: 1.767 MB / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5079, allocations: 11.98 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.5092, allocations: 294.8 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.5107, allocations: 0.9488 MB / 1.384 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.5108, allocations: 82.12 kB / 1.385 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.511, allocations: 104 kB / 1.385 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.513, allocations: 1.324 MB / 1.386 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.513, allocations: 3.938 kB / 1.386 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.5132, allocations: 48 kB / 1.386 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.5133, allocations: 65.97 kB / 1.386 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.5154, allocations: 1.463 MB / 1.388 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005949/0.5214, allocations: 4.712 MB / 1.392 GB, free: 1.898 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.523, allocations: 1.011 MB / 1.393 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.5237, allocations: 428.5 kB / 1.394 GB, free: 460 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.5238, allocations: 118.1 kB / 1.394 GB, free: 324 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008932/0.5247, allocations: 0.5806 MB / 1.394 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=94): time 2.124e-06/0.5248, allocations: 0 / 1.394 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=95): time 0.004818/0.5296, allocations: 2.115 MB / 1.396 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.5297, allocations: 248.3 kB / 1.396 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.5309, allocations: 0.9121 MB / 1.397 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.531, allocations: 41.7 kB / 1.397 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.5314, allocations: 0.5428 MB / 1.398 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.5317, allocations: 327.3 kB / 1.398 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.532, allocations: 198.5 kB / 1.398 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5321, allocations: 353.9 kB / 1.399 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006474/0.5328, allocations: 376.6 kB / 1.399 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008132/0.5336, allocations: 0.5442 MB / 1.4 GB, free: 9.891 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.5351, allocations: 0.9136 MB / 1.401 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.5351, allocations: 4 kB / 1.401 GB, free: 8.934 MB / 0.9011 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002865/0.538, allocations: 1.27 MB / 1.402 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.538, allocations: 9.25 kB / 1.402 GB, free: 7.641 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.538, allocations: 0 / 1.402 GB, free: 7.641 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.5393, allocations: 264.5 kB / 1.402 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/0.5401, allocations: 219.7 kB / 1.402 GB, free: 7.164 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.543, allocations: 1.967 MB / 1.404 GB, free: 5.062 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009489/0.544, allocations: 99.36 kB / 1.404 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.5441, allocations: 43.97 kB / 1.404 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001121/0.5452, allocations: 0.6268 MB / 1.405 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008088/0.5461, allocations: 0.5291 MB / 1.405 GB, free: 3.707 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001334/0.5474, allocations: 0.8752 MB / 1.406 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.5474, allocations: 3.938 kB / 1.406 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.001854/0.5493, allocations: 1.048 MB / 1.407 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.5493, allocations: 7.984 kB / 1.407 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5493, allocations: 11.98 kB / 1.407 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.5493, allocations: 8 kB / 1.407 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/0.5502, allocations: 219.7 kB / 1.408 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.5502, allocations: 11.94 kB / 1.408 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007807/0.551, allocations: 101.8 kB / 1.408 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.5511, allocations: 52.06 kB / 1.408 GB, free: 1.324 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003367/0.5514, allocations: 242.5 kB / 1.408 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.5516, allocations: 114.6 kB / 1.408 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/0.5545, allocations: 1.373 MB / 1.409 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.5545, allocations: 19.94 kB / 1.409 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5545, allocations: 0 / 1.409 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.5546, allocations: 7.969 kB / 1.409 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.5587, allocations: 2.664 MB / 1.412 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.5588, allocations: 4 kB / 1.412 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007116/0.5595, allocations: 196 kB / 1.412 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007987/0.5603, allocations: 208.5 kB / 1.412 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/0.5604, allocations: 27.98 kB / 1.412 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.5623, allocations: 1.831 MB / 1.414 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.5624, allocations: 4 kB / 1.414 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/0.5659, allocations: 2.648 MB / 1.417 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/0.5665, allocations: 319.4 kB / 1.417 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5666, allocations: 23.94 kB / 1.417 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.5673, allocations: 79.91 kB / 1.417 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.5675, allocations: 72.89 kB / 1.417 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/0.5676, allocations: 39.98 kB / 1.417 GB, free: 7.145 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008219/0.5684, allocations: 0.6527 MB / 1.418 GB, free: 6.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5684, allocations: 0 / 1.418 GB, free: 6.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001667/0.5701, allocations: 0.4921 MB / 1.418 GB, free: 5.988 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/0.5716, allocations: 0.6613 MB / 1.419 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002774/0.5743, allocations: 1.608 MB / 1.421 GB, free: 3.906 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.5744, allocations: 4 kB / 1.421 GB, free: 3.902 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009825/0.5753, allocations: 0.6537 MB / 1.421 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.5768, allocations: 317 kB / 1.422 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5078/1.085, allocations: 3.403 MB / 1.425 GB, free: 202.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.086, allocations: 1.223 MB / 1.426 GB, free: 201.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0018/1.088, allocations: 466.4 kB / 1.427 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/1.088, allocations: 121.5 kB / 1.427 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of SimCode: time 7.71e-07/1.088, allocations: 3.906 kB / 1.427 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.03684/1.125, allocations: 18.27 MB / 1.445 GB, free: 197.2 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)