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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001085/0.001085, allocations: 184.8 kB / 366.7 MB, free: 1.637 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.542/1.542, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0009222/0.0009225, allocations: 95.88 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.501e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6811/0.6812, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.621/5.302, allocations: 2.103 GB / 3.076 GB, free: 4.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/5.302, allocations: 108.5 kB / 3.076 GB, free: 3.914 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.723/6.025, allocations: 57.1 MB / 3.132 GB, free: 331.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.783e-06/6.025, allocations: 0 / 3.132 GB, free: 331.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000123/6.026, allocations: 31.69 kB / 3.132 GB, free: 331.6 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.002531/6.028, allocations: 1.377 MB / 3.133 GB, free: 330.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/6.028, allocations: 9.406 kB / 3.134 GB, free: 330.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/6.03, allocations: 298.8 kB / 3.134 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/6.031, allocations: 0.8303 MB / 3.135 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/6.031, allocations: 38.06 kB / 3.135 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/6.032, allocations: 69.45 kB / 3.135 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002168/6.034, allocations: 1.279 MB / 3.136 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/6.036, allocations: 1.105 MB / 3.137 GB, free: 328.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/6.036, allocations: 5.531 kB / 3.137 GB, free: 328.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.653e-05/6.036, allocations: 10.47 kB / 3.137 GB, free: 328.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.838e-05/6.036, allocations: 52.11 kB / 3.137 GB, free: 328.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005735/6.042, allocations: 4.531 MB / 3.142 GB, free: 324.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/6.043, allocations: 0.9256 MB / 3.142 GB, free: 324.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/6.043, allocations: 378.5 kB / 3.143 GB, free: 324 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/6.044, allocations: 127 kB / 3.143 GB, free: 323.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007129/6.044, allocations: 0.5172 MB / 3.143 GB, free: 323.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 4.178e-06/6.044, allocations: 0 / 3.143 GB, free: 323.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.00246/6.047, allocations: 1.366 MB / 3.145 GB, free: 322.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/6.047, allocations: 302.8 kB / 3.145 GB, free: 322.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/6.048, allocations: 0.7721 MB / 3.146 GB, free: 322 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/6.048, allocations: 25.7 kB / 3.146 GB, free: 321.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/6.048, allocations: 0.5534 MB / 3.146 GB, free: 321.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/6.048, allocations: 298.7 kB / 3.147 GB, free: 321.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/6.048, allocations: 0 / 3.147 GB, free: 321.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/6.049, allocations: 337.8 kB / 3.147 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/6.049, allocations: 314.2 kB / 3.147 GB, free: 320.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/6.049, allocations: 0.5031 MB / 3.148 GB, free: 320.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/6.05, allocations: 412.4 kB / 3.148 GB, free: 320.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/6.05, allocations: 3.938 kB / 3.148 GB, free: 320.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00173/6.052, allocations: 1.051 MB / 3.149 GB, free: 319.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002682/6.052, allocations: 1.137 MB / 3.15 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/6.052, allocations: 3.906 kB / 3.15 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/6.053, allocations: 127.3 kB / 3.15 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008183/6.054, allocations: 209.9 kB / 3.151 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004637/6.054, allocations: 0.6401 MB / 3.151 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007623/6.055, allocations: 94.25 kB / 3.151 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/6.055, allocations: 44.88 kB / 3.151 GB, free: 317.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/6.055, allocations: 3.75 kB / 3.151 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/6.056, allocations: 0.7811 MB / 3.152 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/6.056, allocations: 3.812 kB / 3.152 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/6.056, allocations: 3.844 kB / 3.152 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/6.057, allocations: 210.4 kB / 3.152 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/6.057, allocations: 15.73 kB / 3.152 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/6.058, allocations: 82.28 kB / 3.152 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/6.058, allocations: 39.27 kB / 3.152 GB, free: 317.2 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 () * 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.0001973/6.058, allocations: 125.7 kB / 3.153 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001814/6.06, allocations: 1.031 MB / 3.154 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/6.06, allocations: 110.7 kB / 3.154 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/6.062, allocations: 1.307 MB / 3.155 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/6.062, allocations: 12 kB / 3.155 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/6.062, allocations: 7.891 kB / 3.155 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/6.062, allocations: 3.984 kB / 3.155 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/6.066, allocations: 2.491 MB / 3.157 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/6.066, allocations: 1.781 kB / 3.157 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/6.067, allocations: 191.8 kB / 3.158 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007415/6.067, allocations: 212.7 kB / 3.158 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/6.067, allocations: 15.98 kB / 3.158 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/6.069, allocations: 1.755 MB / 3.16 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/6.069, allocations: 7.938 kB / 3.16 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/6.071, allocations: 1.419 MB / 3.161 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005261/6.072, allocations: 351.3 kB / 3.161 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/6.072, allocations: 8 kB / 3.161 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/6.073, allocations: 79.89 kB / 3.161 GB, free: 308.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/6.073, allocations: 69.22 kB / 3.161 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/6.073, allocations: 43.98 kB / 3.161 GB, free: 308.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008125/6.074, allocations: 0.6163 MB / 3.162 GB, free: 307.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/6.074, allocations: 0 / 3.162 GB, free: 307.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001714/6.076, allocations: 443.9 kB / 3.162 GB, free: 307.2 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) * 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.003968/6.079, allocations: 2.894 MB / 3.165 GB, free: 304.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001944/6.081, allocations: 1.309 MB / 3.167 GB, free: 303 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/6.081, allocations: 5.5 kB / 3.167 GB, free: 303 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007651/6.082, allocations: 0.6004 MB / 3.167 GB, free: 302.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/6.084, allocations: 280 kB / 3.167 GB, free: 302.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/6.088, allocations: 2.008 MB / 3.169 GB, free: 300.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/6.088, allocations: 1.21 MB / 3.171 GB, free: 298.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0017/6.09, allocations: 0.5963 MB / 3.171 GB, free: 298.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/6.09, allocations: 479.2 kB / 3.172 GB, free: 297.8 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/6.09, allocations: 0 / 3.172 GB, free: 297.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05125/6.142, allocations: 26.04 MB / 3.197 GB, free: 271.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/6.142, allocations: 180.8 kB / 3.197 GB, free: 271.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/9.059, allocations: 4 kB / 3.197 GB, free: 271.7 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)