Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.436/2.436, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001449/0.001449, allocations: 176.9 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001106/0.001105, allocations: 94.34 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.547e-05/2.556e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8216/0.8216, allocations: 115.3 MB / 0.9634 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.297/7.118, allocations: 2.106 GB / 3.069 GB, free: 14.06 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005006/7.119, allocations: 108.8 kB / 3.069 GB, free: 14.01 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9084/8.027, allocations: 61.59 MB / 3.13 GB, free: 329.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.334e-06/8.027, allocations: 0 / 3.13 GB, free: 329.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000178/8.027, allocations: 35.44 kB / 3.13 GB, free: 329.2 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.004895/8.032, allocations: 1.382 MB / 3.131 GB, free: 328.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/8.032, allocations: 9.031 kB / 3.131 GB, free: 328.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/8.035, allocations: 299.3 kB / 3.131 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/8.038, allocations: 0.8356 MB / 3.132 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.364e-05/8.039, allocations: 34.12 kB / 3.132 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/8.039, allocations: 64.66 kB / 3.132 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003873/8.043, allocations: 1.282 MB / 3.133 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/8.046, allocations: 1.109 MB / 3.134 GB, free: 326.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/8.046, allocations: 1.594 kB / 3.134 GB, free: 326.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/8.046, allocations: 6.219 kB / 3.134 GB, free: 326.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/8.047, allocations: 59.67 kB / 3.135 GB, free: 326.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/8.057, allocations: 4.521 MB / 3.139 GB, free: 323.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/8.059, allocations: 0.9182 MB / 3.14 GB, free: 323.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009258/8.06, allocations: 380.8 kB / 3.14 GB, free: 323.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/8.06, allocations: 126.4 kB / 3.14 GB, free: 323.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/8.062, allocations: 0.5258 MB / 3.141 GB, free: 322.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.857e-06/8.062, allocations: 0 / 3.141 GB, free: 322.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004607/8.066, allocations: 1.357 MB / 3.142 GB, free: 322.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/8.067, allocations: 301.5 kB / 3.142 GB, free: 321.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/8.069, allocations: 0.7742 MB / 3.143 GB, free: 321.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003168/8.069, allocations: 27.14 kB / 3.143 GB, free: 321.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005844/8.069, allocations: 0.5425 MB / 3.144 GB, free: 321.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004323/8.07, allocations: 301.2 kB / 3.144 GB, free: 320.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/8.07, allocations: 1.031 kB / 3.144 GB, free: 320.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/8.07, allocations: 342.3 kB / 3.144 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007819/8.071, allocations: 308.4 kB / 3.145 GB, free: 320.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009549/8.072, allocations: 0.5016 MB / 3.145 GB, free: 320.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/8.073, allocations: 422.5 kB / 3.146 GB, free: 319.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/8.073, allocations: 2.469 kB / 3.146 GB, free: 319.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00422/8.078, allocations: 1.051 MB / 3.147 GB, free: 319.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000273/8.078, allocations: 1.14 MB / 3.148 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/8.078, allocations: 3.797 kB / 3.148 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/8.079, allocations: 130.1 kB / 3.148 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/8.081, allocations: 206.8 kB / 3.148 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007958/8.082, allocations: 0.6451 MB / 3.149 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/8.083, allocations: 93.66 kB / 3.149 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/8.084, allocations: 35.16 kB / 3.149 GB, free: 317.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/8.084, allocations: 3.75 kB / 3.149 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00249/8.086, allocations: 0.7848 MB / 3.15 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/8.086, allocations: 4.5 kB / 3.15 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/8.086, allocations: 11.36 kB / 3.15 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/8.088, allocations: 211.4 kB / 3.15 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/8.088, allocations: 10.58 kB / 3.15 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/8.089, allocations: 74.78 kB / 3.15 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/8.089, allocations: 43.67 kB / 3.15 GB, free: 317.3 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.0003619/8.09, allocations: 123.4 kB / 3.15 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003563/8.093, allocations: 1.032 MB / 3.151 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004215/8.094, allocations: 110.5 kB / 3.151 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/8.098, allocations: 1.305 MB / 3.152 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/8.098, allocations: 14.17 kB / 3.152 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/8.098, allocations: 7.906 kB / 3.152 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/8.099, allocations: 5.312 kB / 3.152 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006438/8.105, allocations: 2.497 MB / 3.155 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/8.105, allocations: 0 / 3.155 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/8.107, allocations: 198 kB / 3.155 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/8.108, allocations: 206.4 kB / 3.155 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/8.108, allocations: 16.16 kB / 3.155 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/8.111, allocations: 1.757 MB / 3.157 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/8.111, allocations: 0 / 3.157 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/8.114, allocations: 1.418 MB / 3.158 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009079/8.115, allocations: 353 kB / 3.159 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/8.116, allocations: 3.812 kB / 3.159 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/8.117, allocations: 79.09 kB / 3.159 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/8.117, allocations: 79.89 kB / 3.159 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/8.117, allocations: 34.05 kB / 3.159 GB, free: 312.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001141/8.119, allocations: 0.6171 MB / 3.16 GB, free: 312.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/8.119, allocations: 0 / 3.16 GB, free: 312.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002516/8.121, allocations: 455.9 kB / 3.16 GB, free: 312.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.005632/8.127, allocations: 2.888 MB / 3.163 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003648/8.13, allocations: 1.307 MB / 3.164 GB, free: 309.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/8.13, allocations: 1.5 kB / 3.164 GB, free: 309.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/8.132, allocations: 0.6055 MB / 3.165 GB, free: 309.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/8.135, allocations: 271.7 kB / 3.165 GB, free: 309.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/8.142, allocations: 2.003 MB / 3.167 GB, free: 308 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008908/8.142, allocations: 1.214 MB / 3.168 GB, free: 307 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003264/8.146, allocations: 0.606 MB / 3.169 GB, free: 306.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/8.147, allocations: 476.9 kB / 3.169 GB, free: 306.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/8.147, allocations: 0 / 3.169 GB, free: 306.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09619/8.243, allocations: 26.03 MB / 3.194 GB, free: 282.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/8.243, allocations: 210.2 kB / 3.195 GB, free: 282.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.915/12.16, allocations: 0 / 3.195 GB, free: 282.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)