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.757/1.757, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001012/0.001012, allocations: 182.6 kB / 371.8 MB, free: 10.26 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.526/1.526, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009338/0.0009338, allocations: 98.22 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004301, allocations: 16.97 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.006349/0.2366, allocations: 6.072 MB / 0.9854 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.654/0.8906, allocations: 128.7 MB / 1.111 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009535/0.8917, allocations: 22 kB / 1.111 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006131/0.8923, allocations: 191.3 kB / 1.111 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.8943, allocations: 0.6584 MB / 1.112 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.897, allocations: 0.828 MB / 1.113 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002244/0.8993, allocations: 1.023 MB / 1.114 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/0.902, allocations: 1.255 MB / 1.115 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.9031, allocations: 440.6 kB / 1.115 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009056/0.904, allocations: 484.2 kB / 1.116 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.9041, allocations: 37.34 kB / 1.116 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.9054, allocations: 352.8 kB / 1.116 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.9058, allocations: 309.6 kB / 1.117 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.9061, allocations: 254.7 kB / 1.117 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.9083, allocations: 1.524 MB / 1.118 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.9084, allocations: 0 / 1.118 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9084, allocations: 0 / 1.118 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.592e-05/0.9084, allocations: 1.75 kB / 1.118 GB, free: 1.156 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.003201/0.9116, allocations: 1.468 MB / 1.12 GB, free: 16.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.9117, allocations: 12.58 kB / 1.12 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002594/0.912, allocations: 174.3 kB / 1.12 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.9137, allocations: 302.6 kB / 1.12 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.9157, allocations: 0.915 MB / 1.121 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-05/0.9158, allocations: 80.52 kB / 1.121 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.916, allocations: 110.8 kB / 1.121 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.9185, allocations: 1.297 MB / 1.123 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.9186, allocations: 4 kB / 1.123 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.9187, allocations: 51.44 kB / 1.123 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.63e-05/0.9188, allocations: 65.58 kB / 1.123 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.9212, allocations: 1.455 MB / 1.124 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007192/0.9284, allocations: 4.713 MB / 1.129 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.9301, allocations: 1.019 MB / 1.13 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.9303, allocations: 119 kB / 1.13 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.9313, allocations: 0.5778 MB / 1.13 GB, free: 12.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 3.025e-06/0.9313, allocations: 1 kB / 1.13 GB, free: 12.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.005077/0.9364, allocations: 2.116 MB / 1.132 GB, free: 11.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.9366, allocations: 251.2 kB / 1.133 GB, free: 11.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.938, allocations: 0.8951 MB / 1.134 GB, free: 10.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.969e-05/0.9381, allocations: 43.33 kB / 1.134 GB, free: 10.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005165/0.9386, allocations: 0.5461 MB / 1.134 GB, free: 10.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.9389, allocations: 319.8 kB / 1.134 GB, free: 10.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.939, allocations: 15.28 kB / 1.134 GB, free: 10.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.9391, allocations: 341.3 kB / 1.135 GB, free: 9.984 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.9397, allocations: 348.3 kB / 1.135 GB, free: 9.934 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007942/0.9405, allocations: 0.5382 MB / 1.136 GB, free: 9.684 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007867/0.9413, allocations: 428.6 kB / 1.136 GB, free: 9.629 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9413, allocations: 1.531 kB / 1.136 GB, free: 9.629 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002977/0.9443, allocations: 1.222 MB / 1.137 GB, free: 9.312 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006323/0.945, allocations: 1.219 MB / 1.138 GB, free: 8.031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.945, allocations: 9.484 kB / 1.138 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.9463, allocations: 263.2 kB / 1.139 GB, free: 7.926 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.9474, allocations: 207.5 kB / 1.139 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.951, allocations: 2.04 MB / 1.141 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.9523, allocations: 107.8 kB / 1.141 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.9524, allocations: 41.27 kB / 1.141 GB, free: 6.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.9524, allocations: 2.688 kB / 1.141 GB, free: 6.32 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001835/0.9543, allocations: 0.8931 MB / 1.142 GB, free: 6.172 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.9543, allocations: 4.281 kB / 1.142 GB, free: 6.172 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.9543, allocations: 5.344 kB / 1.142 GB, free: 6.172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008846/0.9552, allocations: 214 kB / 1.142 GB, free: 6.125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.9553, allocations: 11.42 kB / 1.142 GB, free: 6.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.9563, allocations: 102.3 kB / 1.142 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.9564, allocations: 43.86 kB / 1.142 GB, free: 6.062 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.0009697/0.9574, allocations: 422.2 kB / 1.143 GB, free: 5.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/0.9578, allocations: 112.6 kB / 1.143 GB, free: 5.781 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/0.9613, allocations: 1.384 MB / 1.144 GB, free: 5.398 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.9614, allocations: 13.17 kB / 1.144 GB, free: 5.398 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9614, allocations: 4 kB / 1.144 GB, free: 5.395 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.9614, allocations: 13.23 kB / 1.144 GB, free: 5.383 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006213/0.9676, allocations: 2.665 MB / 1.147 GB, free: 4.375 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.9677, allocations: 6.5 kB / 1.147 GB, free: 4.371 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/0.9685, allocations: 190.5 kB / 1.147 GB, free: 4.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008866/0.9694, allocations: 211.8 kB / 1.147 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.9695, allocations: 25.7 kB / 1.147 GB, free: 4.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.972, allocations: 1.878 MB / 1.149 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.9721, allocations: 7.719 kB / 1.149 GB, free: 2.812 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.9751, allocations: 1.486 MB / 1.15 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009538/0.9761, allocations: 341.5 kB / 1.151 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000369/0.9765, allocations: 22.78 kB / 1.151 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.9776, allocations: 94.38 kB / 1.151 GB, free: 1.918 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.9778, allocations: 77.86 kB / 1.151 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.855e-05/0.9779, allocations: 41.42 kB / 1.151 GB, free: 1.879 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001352/0.9792, allocations: 0.6337 MB / 1.152 GB, free: 1.672 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9793, allocations: 0 / 1.152 GB, free: 1.672 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00232/0.9816, allocations: 464.2 kB / 1.152 GB, free: 1.648 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.004855/0.9865, allocations: 2.992 MB / 1.155 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003188/0.9897, allocations: 1.539 MB / 1.156 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.9897, allocations: 0 / 1.156 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.9908, allocations: 0.6533 MB / 1.157 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.9928, allocations: 292 kB / 1.157 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.009, allocations: 8.91 MB / 1.166 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.011, allocations: 1.206 MB / 1.167 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001853/1.012, allocations: 461.9 kB / 1.168 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008191/1.013, allocations: 0.4933 MB / 1.168 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of SimCode: time 1.963e-06/1.013, allocations: 0 / 1.168 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05742/1.071, allocations: 26.64 MB / 1.194 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/1.071, allocations: 278.9 kB / 1.194 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.83/3.901, allocations: 0 / 1.194 GB, free: 2.645 MB / 0.7292 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)