Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 189.1 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008879/0.0008878, allocations: 104.2 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003861, allocations: 6.969 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3129, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.223/4.536, allocations: 1.766 GB / 2.989 GB, free: 251.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/4.536, allocations: 115.9 kB / 2.989 GB, free: 251.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1509/4.687, allocations: 69.19 MB / 3.057 GB, free: 182.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.144e-06/4.687, allocations: 0 / 3.057 GB, free: 182.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001168/4.687, allocations: 32 kB / 3.057 GB, free: 182.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003137/4.69, allocations: 1.586 MB / 3.058 GB, free: 180.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/4.69, allocations: 8.031 kB / 3.058 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002941/4.691, allocations: 177 kB / 3.058 GB, free: 180.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/4.692, allocations: 301.9 kB / 3.059 GB, free: 179.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/4.694, allocations: 0.8378 MB / 3.059 GB, free: 179.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/4.694, allocations: 78.14 kB / 3.06 GB, free: 179 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/4.694, allocations: 107.9 kB / 3.06 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/4.696, allocations: 1.308 MB / 3.061 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/4.696, allocations: 7.891 kB / 3.061 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/4.696, allocations: 51.98 kB / 3.061 GB, free: 177.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.047e-05/4.696, allocations: 53.98 kB / 3.061 GB, free: 177.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/4.698, allocations: 1.471 MB / 3.062 GB, free: 175.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005304/4.704, allocations: 4.755 MB / 3.067 GB, free: 170.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/4.705, allocations: 1.027 MB / 3.068 GB, free: 169.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/4.705, allocations: 122.1 kB / 3.068 GB, free: 169.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008006/4.706, allocations: 0.5805 MB / 3.069 GB, free: 169.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 2.825e-06/4.706, allocations: 0 / 3.069 GB, free: 169.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=95): time 0.004037/4.71, allocations: 2.042 MB / 3.071 GB, free: 167 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/4.71, allocations: 299.7 kB / 3.071 GB, free: 166.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/4.711, allocations: 0.8921 MB / 3.072 GB, free: 165.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-05/4.711, allocations: 41.7 kB / 3.072 GB, free: 165.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/4.712, allocations: 0.5427 MB / 3.073 GB, free: 165.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/4.712, allocations: 315.4 kB / 3.073 GB, free: 164.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/4.712, allocations: 16 kB / 3.073 GB, free: 164.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.216e-05/4.712, allocations: 345.9 kB / 3.073 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/4.713, allocations: 349.8 kB / 3.074 GB, free: 164.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/4.713, allocations: 0.5412 MB / 3.074 GB, free: 163.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/4.714, allocations: 434.8 kB / 3.074 GB, free: 163.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/4.714, allocations: 0 / 3.074 GB, free: 163.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002159/4.716, allocations: 1.192 MB / 3.076 GB, free: 161.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003091/4.716, allocations: 1.139 MB / 3.077 GB, free: 160.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/4.717, allocations: 7.938 kB / 3.077 GB, free: 160.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009325/4.717, allocations: 212.6 kB / 3.077 GB, free: 160.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/4.718, allocations: 207.7 kB / 3.077 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005451/4.719, allocations: 0.6498 MB / 3.078 GB, free: 159.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/4.72, allocations: 107.3 kB / 3.078 GB, free: 159.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/4.72, allocations: 39.98 kB / 3.078 GB, free: 159.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/4.72, allocations: 4 kB / 3.078 GB, free: 159.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0014/4.721, allocations: 0.8865 MB / 3.079 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/4.721, allocations: 4.062 kB / 3.079 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/4.721, allocations: 11.94 kB / 3.079 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007793/4.722, allocations: 203.8 kB / 3.079 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/4.722, allocations: 15.92 kB / 3.079 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/4.723, allocations: 87.48 kB / 3.079 GB, free: 158.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/4.723, allocations: 47.97 kB / 3.079 GB, free: 158.2 MB / 1.167 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 () * Number of clocked 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.0006166/4.724, allocations: 420.8 kB / 3.08 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/4.724, allocations: 122.6 kB / 3.08 GB, free: 157.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/4.726, allocations: 1.392 MB / 3.081 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/4.726, allocations: 12.09 kB / 3.081 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/4.726, allocations: 7.891 kB / 3.081 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/4.726, allocations: 7.969 kB / 3.081 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/4.73, allocations: 2.734 MB / 3.084 GB, free: 153.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/4.73, allocations: 3.984 kB / 3.084 GB, free: 153.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/4.731, allocations: 195.7 kB / 3.084 GB, free: 153.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007799/4.732, allocations: 208.8 kB / 3.084 GB, free: 153 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/4.732, allocations: 23.98 kB / 3.084 GB, free: 153 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/4.734, allocations: 1.878 MB / 3.086 GB, free: 151 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/4.734, allocations: 7.891 kB / 3.086 GB, free: 151 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/4.736, allocations: 1.493 MB / 3.087 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/4.736, allocations: 363.2 kB / 3.088 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/4.737, allocations: 20 kB / 3.088 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008552/4.738, allocations: 91.91 kB / 3.088 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/4.738, allocations: 76.89 kB / 3.088 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/4.738, allocations: 39.98 kB / 3.088 GB, free: 148.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000901/4.739, allocations: 0.7153 MB / 3.089 GB, free: 148.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.1e-07/4.739, allocations: 0 / 3.089 GB, free: 148.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001607/4.74, allocations: 0.5271 MB / 3.089 GB, free: 147.5 MB / 1.167 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.003888/4.744, allocations: 3.106 MB / 3.092 GB, free: 144.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002369/4.747, allocations: 1.425 MB / 3.094 GB, free: 143.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/4.747, allocations: 192 / 3.094 GB, free: 143.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009452/4.748, allocations: 0.6563 MB / 3.094 GB, free: 142.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/4.749, allocations: 303.7 kB / 3.095 GB, free: 142.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/4.76, allocations: 8.894 MB / 3.103 GB, free: 133 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007195/4.761, allocations: 1.219 MB / 3.104 GB, free: 131.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001496/4.762, allocations: 460.2 kB / 3.105 GB, free: 131.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006509/4.763, allocations: 0.5032 MB / 3.105 GB, free: 130.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.202e-06/4.763, allocations: 0 / 3.105 GB, free: 130.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/4.808, allocations: 27.12 MB / 3.132 GB, free: 104 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/4.808, allocations: 275.6 kB / 3.132 GB, free: 103.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/7.623, allocations: 3.938 kB / 3.132 GB, free: 103.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat does not exist to compare? outputFormat=mat