Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_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.7/1.7, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001186/0.001186, allocations: 180.9 kB / 361.4 MB, free: 6.855 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.881/1.881, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008273/0.0008274, allocations: 99.89 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.354e-05/2.38e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7358/0.7359, allocations: 115.3 MB / 0.9645 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.536/5.272, allocations: 2.106 GB / 3.07 GB, free: 53.53 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/5.272, allocations: 103.9 kB / 3.071 GB, free: 53.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6723/5.945, allocations: 61.6 MB / 3.131 GB, free: 319.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.735e-06/5.945, allocations: 3.375 kB / 3.131 GB, free: 319.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001516/5.945, allocations: 30.84 kB / 3.131 GB, free: 319.7 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.00348/5.949, allocations: 1.375 MB / 3.132 GB, free: 318.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/5.949, allocations: 12 kB / 3.132 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/5.951, allocations: 304.6 kB / 3.132 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/5.954, allocations: 0.8316 MB / 3.133 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/5.954, allocations: 33.44 kB / 3.133 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/5.954, allocations: 60.72 kB / 3.133 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003303/5.957, allocations: 1.287 MB / 3.135 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/5.96, allocations: 1.112 MB / 3.136 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/5.96, allocations: 1.406 kB / 3.136 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/5.96, allocations: 4.406 kB / 3.136 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/5.961, allocations: 52.66 kB / 3.136 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008902/5.969, allocations: 4.523 MB / 3.14 GB, free: 316 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/5.972, allocations: 0.9217 MB / 3.141 GB, free: 316 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000882/5.973, allocations: 376.9 kB / 3.141 GB, free: 316 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/5.973, allocations: 119.2 kB / 3.141 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/5.974, allocations: 0.5286 MB / 3.142 GB, free: 315.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 5.089e-06/5.974, allocations: 0 / 3.142 GB, free: 315.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004525/5.979, allocations: 1.362 MB / 3.143 GB, free: 315.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/5.979, allocations: 295.3 kB / 3.144 GB, free: 315 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/5.981, allocations: 0.7776 MB / 3.144 GB, free: 314.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/5.981, allocations: 31.08 kB / 3.144 GB, free: 314.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006399/5.981, allocations: 0.5393 MB / 3.145 GB, free: 314.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/5.982, allocations: 305.5 kB / 3.145 GB, free: 314.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/5.982, allocations: 0 / 3.145 GB, free: 314.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001181/5.982, allocations: 343.5 kB / 3.146 GB, free: 314.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/5.983, allocations: 310 kB / 3.146 GB, free: 314.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/5.984, allocations: 0.4948 MB / 3.146 GB, free: 313.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/5.985, allocations: 425.4 kB / 3.147 GB, free: 313.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/5.985, allocations: 5.25 kB / 3.147 GB, free: 313.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003714/5.989, allocations: 1.053 MB / 3.148 GB, free: 313.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003526/5.99, allocations: 1.14 MB / 3.149 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/5.99, allocations: 5.344 kB / 3.149 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/5.991, allocations: 121.4 kB / 3.149 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/5.992, allocations: 214.6 kB / 3.149 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008303/5.993, allocations: 0.6405 MB / 3.15 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/5.995, allocations: 89.16 kB / 3.15 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/5.995, allocations: 41.84 kB / 3.15 GB, free: 312.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/5.995, allocations: 4.188 kB / 3.15 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002444/5.997, allocations: 0.7775 MB / 3.151 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/5.997, allocations: 2.969 kB / 3.151 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/5.997, allocations: 12.19 kB / 3.151 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/5.999, allocations: 209.5 kB / 3.151 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/5.999, allocations: 8.672 kB / 3.151 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/6, allocations: 81.94 kB / 3.151 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/6, allocations: 39.64 kB / 3.151 GB, free: 312 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.000372/6.001, allocations: 133.4 kB / 3.151 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003674/6.004, allocations: 1.03 MB / 3.152 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/6.005, allocations: 111 kB / 3.152 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/6.009, allocations: 1.303 MB / 3.154 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/6.009, allocations: 10.16 kB / 3.154 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/6.01, allocations: 1.719 kB / 3.154 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/6.01, allocations: 10.53 kB / 3.154 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008959/6.019, allocations: 2.496 MB / 3.156 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/6.019, allocations: 2.375 kB / 3.156 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/6.02, allocations: 200.1 kB / 3.156 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/6.021, allocations: 209 kB / 3.156 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/6.022, allocations: 15.05 kB / 3.156 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003223/6.025, allocations: 1.755 MB / 3.158 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/6.025, allocations: 14.09 kB / 3.158 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/6.029, allocations: 1.419 MB / 3.16 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/6.03, allocations: 355.7 kB / 3.16 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/6.03, allocations: 4.391 kB / 3.16 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/6.032, allocations: 77.72 kB / 3.16 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/6.032, allocations: 72.48 kB / 3.16 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/6.032, allocations: 38.17 kB / 3.16 GB, free: 309.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001389/6.033, allocations: 0.6176 MB / 3.161 GB, free: 308.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/6.033, allocations: 0 / 3.161 GB, free: 308.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002821/6.036, allocations: 446.3 kB / 3.161 GB, free: 308.8 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.005824/6.042, allocations: 2.874 MB / 3.164 GB, free: 307 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003652/6.046, allocations: 1.315 MB / 3.165 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/6.046, allocations: 1.312 kB / 3.165 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/6.047, allocations: 0.5986 MB / 3.166 GB, free: 306.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/6.05, allocations: 286.6 kB / 3.166 GB, free: 306.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008341/6.058, allocations: 2.013 MB / 3.168 GB, free: 305.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/6.06, allocations: 1.209 MB / 3.169 GB, free: 304.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00393/6.064, allocations: 0.5991 MB / 3.17 GB, free: 304.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009611/6.065, allocations: 477.6 kB / 3.17 GB, free: 304.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.313e-06/6.065, allocations: 0 / 3.17 GB, free: 304.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08035/6.145, allocations: 26.05 MB / 3.196 GB, free: 302.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/6.146, allocations: 214.2 kB / 3.196 GB, free: 302.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/9.306, allocations: 0 / 3.196 GB, free: 302.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)