Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001081/0.001081, allocations: 172.9 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.776/1.776, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008875/0.0008876, allocations: 91.5 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.137e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.6685, allocations: 116.3 MB / 0.9733 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.929/5.597, allocations: 2.107 GB / 3.08 GB, free: 283.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/5.598, allocations: 105.4 kB / 3.08 GB, free: 283.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1545/5.752, allocations: 61.6 MB / 3.141 GB, free: 265.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.503e-06/5.752, allocations: 0 / 3.141 GB, free: 265.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002287/5.752, allocations: 39.14 kB / 3.141 GB, free: 265.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.004362/5.757, allocations: 1.373 MB / 3.142 GB, free: 264.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/5.757, allocations: 9.531 kB / 3.142 GB, free: 264.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/5.759, allocations: 295.2 kB / 3.142 GB, free: 264.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/5.761, allocations: 0.8405 MB / 3.143 GB, free: 264 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/5.761, allocations: 35.25 kB / 3.143 GB, free: 264 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/5.762, allocations: 58.62 kB / 3.143 GB, free: 264 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002302/5.764, allocations: 1.282 MB / 3.144 GB, free: 263.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/5.766, allocations: 1.112 MB / 3.145 GB, free: 263.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/5.766, allocations: 7.906 kB / 3.146 GB, free: 263.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/5.766, allocations: 3.906 kB / 3.146 GB, free: 263.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.02e-05/5.767, allocations: 57.97 kB / 3.146 GB, free: 263.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006647/5.773, allocations: 4.512 MB / 3.15 GB, free: 260.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/5.774, allocations: 0.9178 MB / 3.151 GB, free: 260.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/5.775, allocations: 383 kB / 3.151 GB, free: 260.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/5.775, allocations: 124.3 kB / 3.151 GB, free: 260 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007444/5.776, allocations: 0.5195 MB / 3.152 GB, free: 259.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.937e-06/5.776, allocations: 0 / 3.152 GB, free: 259.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002916/5.779, allocations: 1.363 MB / 3.153 GB, free: 259.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/5.779, allocations: 307 kB / 3.153 GB, free: 258.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/5.78, allocations: 0.7738 MB / 3.154 GB, free: 258.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.448e-05/5.78, allocations: 26.45 kB / 3.154 GB, free: 258.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/5.781, allocations: 0.5423 MB / 3.155 GB, free: 258.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/5.781, allocations: 308.7 kB / 3.155 GB, free: 258.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/5.781, allocations: 96 / 3.155 GB, free: 258.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/5.781, allocations: 345.3 kB / 3.155 GB, free: 257.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/5.782, allocations: 310.6 kB / 3.156 GB, free: 257.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/5.782, allocations: 0.4945 MB / 3.156 GB, free: 257.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007065/5.783, allocations: 427.6 kB / 3.157 GB, free: 257.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/5.783, allocations: 0 / 3.157 GB, free: 257.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001924/5.785, allocations: 1.04 MB / 3.158 GB, free: 257.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000263/5.785, allocations: 1.151 MB / 3.159 GB, free: 256 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/5.785, allocations: 3.906 kB / 3.159 GB, free: 256 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006227/5.786, allocations: 129.3 kB / 3.159 GB, free: 256 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/5.786, allocations: 203.5 kB / 3.159 GB, free: 255.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004824/5.787, allocations: 0.6493 MB / 3.16 GB, free: 255.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009014/5.788, allocations: 82.47 kB / 3.16 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/5.788, allocations: 38.61 kB / 3.16 GB, free: 255.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/5.788, allocations: 3.938 kB / 3.16 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00119/5.789, allocations: 0.7904 MB / 3.161 GB, free: 255.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/5.789, allocations: 1.031 kB / 3.161 GB, free: 255.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/5.789, allocations: 11.8 kB / 3.161 GB, free: 255.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007842/5.79, allocations: 210.5 kB / 3.161 GB, free: 255.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/5.79, allocations: 9.516 kB / 3.161 GB, free: 255.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/5.791, allocations: 82.62 kB / 3.161 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/5.791, allocations: 38.83 kB / 3.161 GB, free: 255.1 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.0002347/5.791, allocations: 124.6 kB / 3.161 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001939/5.793, allocations: 1.031 MB / 3.162 GB, free: 254.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/5.794, allocations: 109 kB / 3.162 GB, free: 254.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/5.796, allocations: 1.309 MB / 3.163 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/5.796, allocations: 11.62 kB / 3.163 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/5.796, allocations: 6.344 kB / 3.163 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/5.796, allocations: 3.984 kB / 3.163 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004272/5.801, allocations: 2.488 MB / 3.166 GB, free: 253.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/5.801, allocations: 3.625 kB / 3.166 GB, free: 253.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007407/5.801, allocations: 190.3 kB / 3.166 GB, free: 253.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007508/5.802, allocations: 211.5 kB / 3.166 GB, free: 253.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/5.802, allocations: 18.92 kB / 3.166 GB, free: 253.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/5.804, allocations: 1.753 MB / 3.168 GB, free: 251.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/5.804, allocations: 3.188 kB / 3.168 GB, free: 251.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/5.806, allocations: 1.431 MB / 3.169 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007403/5.807, allocations: 348.8 kB / 3.17 GB, free: 250.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/5.807, allocations: 7.812 kB / 3.17 GB, free: 250.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00098/5.808, allocations: 78.52 kB / 3.17 GB, free: 250.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/5.808, allocations: 75.22 kB / 3.17 GB, free: 250.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/5.809, allocations: 37.86 kB / 3.17 GB, free: 250.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009415/5.809, allocations: 0.6142 MB / 3.171 GB, free: 250.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/5.809, allocations: 0 / 3.171 GB, free: 250.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002167/5.812, allocations: 449.1 kB / 3.171 GB, free: 250.7 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.003769/5.815, allocations: 2.888 MB / 3.174 GB, free: 248.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002313/5.818, allocations: 1.31 MB / 3.175 GB, free: 248.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/5.818, allocations: 3.844 kB / 3.175 GB, free: 248.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009415/5.819, allocations: 0.5993 MB / 3.176 GB, free: 248.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/5.821, allocations: 273.6 kB / 3.176 GB, free: 248.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005367/5.826, allocations: 2.009 MB / 3.178 GB, free: 247.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/5.827, allocations: 1.224 MB / 3.179 GB, free: 246.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002101/5.829, allocations: 0.589 MB / 3.18 GB, free: 245.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006748/5.83, allocations: 480.8 kB / 3.18 GB, free: 245.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/5.83, allocations: 0 / 3.18 GB, free: 245.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05714/5.887, allocations: 26.05 MB / 3.206 GB, free: 219.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/5.887, allocations: 198.1 kB / 3.206 GB, free: 219.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/8.758, allocations: 0 / 3.206 GB, free: 219.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)