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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.765/1.765, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001754/0.001754, allocations: 172.9 kB / 361.4 MB, free: 6.824 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.645/1.645, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008301/0.0008299, allocations: 91.19 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.102e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7082, allocations: 115.3 MB / 0.9645 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.67/5.378, allocations: 2.102 GB / 3.066 GB, free: 57.96 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/5.378, allocations: 108.7 kB / 3.067 GB, free: 57.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1456/5.524, allocations: 57.1 MB / 3.122 GB, free: 0.7578 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.663e-06/5.524, allocations: 0 / 3.122 GB, free: 0.7578 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001372/5.524, allocations: 28 kB / 3.122 GB, free: 0.7305 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.619/6.143, allocations: 1.369 MB / 3.124 GB, free: 319.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/6.143, allocations: 10.05 kB / 3.124 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/6.146, allocations: 302.5 kB / 3.124 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/6.148, allocations: 0.8346 MB / 3.125 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/6.148, allocations: 34.38 kB / 3.125 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/6.149, allocations: 61.92 kB / 3.125 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002806/6.151, allocations: 1.279 MB / 3.126 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/6.154, allocations: 1.115 MB / 3.127 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/6.154, allocations: 2.594 kB / 3.127 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/6.154, allocations: 2.5 kB / 3.127 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-05/6.154, allocations: 56.47 kB / 3.127 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00672/6.161, allocations: 4.524 MB / 3.132 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/6.162, allocations: 0.9231 MB / 3.133 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/6.163, allocations: 380.5 kB / 3.133 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/6.163, allocations: 117.3 kB / 3.133 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007596/6.164, allocations: 0.529 MB / 3.134 GB, free: 316.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.216e-06/6.164, allocations: 0 / 3.134 GB, free: 316.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002797/6.166, allocations: 1.356 MB / 3.135 GB, free: 315.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/6.167, allocations: 302 kB / 3.135 GB, free: 315.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/6.168, allocations: 0.7787 MB / 3.136 GB, free: 315.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.228e-05/6.168, allocations: 28.83 kB / 3.136 GB, free: 315.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/6.168, allocations: 0.5379 MB / 3.136 GB, free: 315 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/6.168, allocations: 306.5 kB / 3.137 GB, free: 314.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/6.168, allocations: 0 / 3.137 GB, free: 314.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/6.169, allocations: 338.9 kB / 3.137 GB, free: 314.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/6.169, allocations: 312.5 kB / 3.137 GB, free: 314.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/6.17, allocations: 0.4966 MB / 3.138 GB, free: 314.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007625/6.17, allocations: 420.6 kB / 3.138 GB, free: 314.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/6.17, allocations: 4.094 kB / 3.138 GB, free: 314.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00228/6.173, allocations: 1.055 MB / 3.139 GB, free: 314.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004332/6.173, allocations: 1.136 MB / 3.14 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/6.173, allocations: 3 kB / 3.14 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/6.174, allocations: 132 kB / 3.141 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009258/6.175, allocations: 206 kB / 3.141 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000635/6.175, allocations: 0.6403 MB / 3.141 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009871/6.176, allocations: 88.39 kB / 3.141 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/6.177, allocations: 38.28 kB / 3.142 GB, free: 312.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/6.177, allocations: 7.875 kB / 3.142 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002293/6.179, allocations: 0.7878 MB / 3.142 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/6.179, allocations: 4 kB / 3.142 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/6.179, allocations: 7.25 kB / 3.142 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/6.18, allocations: 207.1 kB / 3.142 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/6.18, allocations: 17.33 kB / 3.143 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/6.181, allocations: 79.28 kB / 3.143 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/6.182, allocations: 36.75 kB / 3.143 GB, free: 312.4 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.0003525/6.182, allocations: 126 kB / 3.143 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003231/6.185, allocations: 1.033 MB / 3.144 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/6.185, allocations: 104.7 kB / 3.144 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/6.189, allocations: 1.308 MB / 3.145 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/6.19, allocations: 11.31 kB / 3.145 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/6.19, allocations: 3.953 kB / 3.145 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.283e-05/6.19, allocations: 8.016 kB / 3.145 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006976/6.197, allocations: 2.493 MB / 3.148 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/6.197, allocations: 6.031 kB / 3.148 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/6.198, allocations: 194.7 kB / 3.148 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/6.199, allocations: 208.4 kB / 3.148 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/6.199, allocations: 19.91 kB / 3.148 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/6.202, allocations: 1.756 MB / 3.15 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/6.202, allocations: 3.141 kB / 3.15 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/6.206, allocations: 1.415 MB / 3.151 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/6.208, allocations: 355.8 kB / 3.151 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004602/6.208, allocations: 9.078 kB / 3.151 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/6.209, allocations: 83.58 kB / 3.152 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/6.21, allocations: 70.17 kB / 3.152 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.276e-05/6.21, allocations: 40.39 kB / 3.152 GB, free: 309.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001268/6.211, allocations: 0.6108 MB / 3.152 GB, free: 309.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/6.211, allocations: 1.125 kB / 3.152 GB, free: 309.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002933/6.214, allocations: 447.1 kB / 3.153 GB, free: 309.6 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.005728/6.22, allocations: 2.894 MB / 3.155 GB, free: 308.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003026/6.223, allocations: 1.314 MB / 3.157 GB, free: 307.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/6.223, allocations: 0.9688 kB / 3.157 GB, free: 307.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/6.224, allocations: 0.5993 MB / 3.157 GB, free: 307.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/6.225, allocations: 272.7 kB / 3.158 GB, free: 307.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/6.23, allocations: 2.016 MB / 3.16 GB, free: 306.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/6.231, allocations: 1.211 MB / 3.161 GB, free: 305.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002213/6.234, allocations: 0.5965 MB / 3.161 GB, free: 305.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/6.234, allocations: 477.7 kB / 3.162 GB, free: 305.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/6.234, allocations: 4 kB / 3.162 GB, free: 305.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0735/6.308, allocations: 26.04 MB / 3.187 GB, free: 304 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/6.308, allocations: 196.6 kB / 3.187 GB, free: 303.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/9.076, allocations: 0 / 3.187 GB, free: 303.8 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)