Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.788/1.788, allocations: 288.3 MB / 303.2 MB, free: 8.078 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.001451/0.001451, allocations: 183.7 kB / 371.8 MB, free: 10.29 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.9/1.9, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009778/0.000978, allocations: 98.8 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004004, allocations: 10.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2269, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.006522/0.2335, allocations: 6.08 MB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6009/0.8345, allocations: 128.7 MB / 1.111 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008374/0.8354, allocations: 22.38 kB / 1.111 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.836, allocations: 197.6 kB / 1.111 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.838, allocations: 0.66 MB / 1.112 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.8404, allocations: 0.8305 MB / 1.113 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.8423, allocations: 1.022 MB / 1.114 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.8446, allocations: 1.264 MB / 1.115 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009846/0.8456, allocations: 437.1 kB / 1.115 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008194/0.8464, allocations: 482.3 kB / 1.116 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.8465, allocations: 37.22 kB / 1.116 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.8476, allocations: 356.3 kB / 1.116 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.8479, allocations: 302.6 kB / 1.117 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.8482, allocations: 248.5 kB / 1.117 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.8501, allocations: 1.529 MB / 1.118 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.8501, allocations: 0 / 1.118 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8502, allocations: 1.188 kB / 1.118 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.8502, allocations: 0 / 1.118 GB, free: 1.48 MB / 0.6823 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.00254/0.8527, allocations: 1.477 MB / 1.12 GB, free: 16.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8528, allocations: 8.781 kB / 1.12 GB, free: 16.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.8542, allocations: 306.6 kB / 1.12 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.8558, allocations: 0.9166 MB / 1.121 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/0.8559, allocations: 80.8 kB / 1.121 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.856, allocations: 99.41 kB / 1.121 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.8581, allocations: 1.304 MB / 1.122 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.8582, allocations: 0 / 1.122 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.716e-05/0.8583, allocations: 49.45 kB / 1.122 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.968e-05/0.8583, allocations: 66.89 kB / 1.122 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.8604, allocations: 1.458 MB / 1.124 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005968/0.8663, allocations: 4.71 MB / 1.128 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.8679, allocations: 1.014 MB / 1.129 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.8681, allocations: 120 kB / 1.13 GB, free: 12.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008882/0.869, allocations: 0.5789 MB / 1.13 GB, free: 12.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 3.406e-06/0.869, allocations: 0 / 1.13 GB, free: 12.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.004499/0.8736, allocations: 2.117 MB / 1.132 GB, free: 11.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.8737, allocations: 250.9 kB / 1.132 GB, free: 11.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.8749, allocations: 0.8987 MB / 1.133 GB, free: 11.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.875, allocations: 44.02 kB / 1.133 GB, free: 11.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.8754, allocations: 0.5448 MB / 1.134 GB, free: 10.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.8757, allocations: 319.9 kB / 1.134 GB, free: 10.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.8757, allocations: 18.48 kB / 1.134 GB, free: 10.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8759, allocations: 339.9 kB / 1.135 GB, free: 10.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.8764, allocations: 354 kB / 1.135 GB, free: 10.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.8771, allocations: 0.5341 MB / 1.135 GB, free: 10.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006471/0.8778, allocations: 427.4 kB / 1.136 GB, free: 9.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.8778, allocations: 1.125 kB / 1.136 GB, free: 9.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002348/0.8802, allocations: 1.217 MB / 1.137 GB, free: 9.668 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000443/0.8806, allocations: 1.227 MB / 1.138 GB, free: 8.383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8806, allocations: 2.594 kB / 1.138 GB, free: 8.383 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.8818, allocations: 262.5 kB / 1.138 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/0.8826, allocations: 211.1 kB / 1.139 GB, free: 8.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.8854, allocations: 2.04 MB / 1.141 GB, free: 6.727 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/0.8862, allocations: 110 kB / 1.141 GB, free: 6.676 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.8863, allocations: 36.98 kB / 1.141 GB, free: 6.672 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/0.8863, allocations: 3.406 kB / 1.141 GB, free: 6.672 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001423/0.8878, allocations: 0.892 MB / 1.142 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.8878, allocations: 3.656 kB / 1.142 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.8878, allocations: 9.281 kB / 1.142 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008498/0.8887, allocations: 216 kB / 1.142 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.8887, allocations: 7.438 kB / 1.142 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008349/0.8895, allocations: 100.8 kB / 1.142 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.8896, allocations: 36.67 kB / 1.142 GB, free: 6.426 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (108): * Single equations (assignments): 107 * 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.0007376/0.8904, allocations: 436.6 kB / 1.142 GB, free: 6.191 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.8905, allocations: 107.6 kB / 1.143 GB, free: 6.137 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.8934, allocations: 1.391 MB / 1.144 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.8934, allocations: 11.09 kB / 1.144 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8934, allocations: 1.188 kB / 1.144 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.8934, allocations: 7.938 kB / 1.144 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.8975, allocations: 2.671 MB / 1.147 GB, free: 4.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.8975, allocations: 1.188 kB / 1.147 GB, free: 4.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/0.8983, allocations: 191.8 kB / 1.147 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007911/0.8991, allocations: 210.5 kB / 1.147 GB, free: 4.613 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.632e-05/0.8991, allocations: 27.64 kB / 1.147 GB, free: 4.609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.9014, allocations: 1.881 MB / 1.149 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9015, allocations: 1.875 kB / 1.149 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.9039, allocations: 1.481 MB / 1.15 GB, free: 2.523 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.9044, allocations: 350.3 kB / 1.151 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.9046, allocations: 20.5 kB / 1.151 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000757/0.9054, allocations: 99.27 kB / 1.151 GB, free: 2.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.9055, allocations: 81.45 kB / 1.151 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.69e-05/0.9056, allocations: 37.7 kB / 1.151 GB, free: 2.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000799/0.9064, allocations: 0.632 MB / 1.151 GB, free: 2.027 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9064, allocations: 0 / 1.151 GB, free: 2.027 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001395/0.9078, allocations: 456.8 kB / 1.152 GB, free: 2.008 MB / 0.698 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.001147/0.909, allocations: 0.5697 MB / 1.152 GB, free: 1.734 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002591/0.9116, allocations: 1.548 MB / 1.154 GB, free: 1.363 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.9116, allocations: 2.469 kB / 1.154 GB, free: 1.363 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009262/0.9125, allocations: 0.6467 MB / 1.155 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.9139, allocations: 308.4 kB / 1.155 GB, free: 1.055 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.918, allocations: 2.804 MB / 1.158 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008299/0.9188, allocations: 1.209 MB / 1.159 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001493/0.9203, allocations: 463 kB / 1.159 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/0.9207, allocations: 121.1 kB / 1.159 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/0.9207, allocations: 0 / 1.159 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.02807/0.9488, allocations: 16.7 MB / 1.176 GB, free: 4.832 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)