Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.421/2.421, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001085/0.001085, allocations: 176 kB / 0.4901 GB, free: 2.238 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.562/1.562, allocations: 223.1 MB / 0.7992 GB, free: 15.74 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.001019/0.00102, allocations: 103.4 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004305, allocations: 8.781 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3105, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.43/4.74, allocations: 1.767 GB / 2.996 GB, free: 161.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/4.741, allocations: 111 kB / 2.996 GB, free: 161.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1559/4.897, allocations: 69.2 MB / 3.064 GB, free: 103 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.677e-06/4.897, allocations: 4 kB / 3.064 GB, free: 103 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001503/4.897, allocations: 39.88 kB / 3.064 GB, free: 102.9 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.003581/4.9, allocations: 1.578 MB / 3.065 GB, free: 101.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/4.9, allocations: 8.031 kB / 3.065 GB, free: 101.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000457/4.901, allocations: 169.1 kB / 3.065 GB, free: 101.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/4.903, allocations: 305.8 kB / 3.066 GB, free: 101 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/4.904, allocations: 0.8403 MB / 3.067 GB, free: 100.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/4.905, allocations: 83.38 kB / 3.067 GB, free: 100.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/4.905, allocations: 107.2 kB / 3.067 GB, free: 100.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/4.907, allocations: 1.302 MB / 3.068 GB, free: 99.11 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/4.907, allocations: 7.891 kB / 3.068 GB, free: 99.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/4.907, allocations: 45.94 kB / 3.068 GB, free: 99.09 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.42e-05/4.907, allocations: 57.61 kB / 3.068 GB, free: 99.03 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/4.909, allocations: 1.469 MB / 3.07 GB, free: 97.92 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006448/4.916, allocations: 4.758 MB / 3.074 GB, free: 93.75 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/4.918, allocations: 1.007 MB / 3.075 GB, free: 93.05 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/4.918, allocations: 125.9 kB / 3.075 GB, free: 92.91 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008826/4.919, allocations: 0.5769 MB / 3.076 GB, free: 92.47 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 2.675e-06/4.919, allocations: 0 / 3.076 GB, free: 92.47 MB / 1.167 GB Notification: Performance of matching and sorting (n=95): time 0.004401/4.923, allocations: 2.05 MB / 3.078 GB, free: 90.78 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/4.923, allocations: 295.7 kB / 3.078 GB, free: 90.42 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/4.925, allocations: 0.8876 MB / 3.079 GB, free: 89.74 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.2e-05/4.925, allocations: 43.45 kB / 3.079 GB, free: 89.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/4.925, allocations: 0.5386 MB / 3.08 GB, free: 89.35 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/4.925, allocations: 324.4 kB / 3.08 GB, free: 89.07 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/4.925, allocations: 21.5 kB / 3.08 GB, free: 89.06 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/4.925, allocations: 342.1 kB / 3.08 GB, free: 88.73 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/4.926, allocations: 350.9 kB / 3.081 GB, free: 88.51 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007104/4.927, allocations: 0.5418 MB / 3.081 GB, free: 88.04 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/4.927, allocations: 439.6 kB / 3.082 GB, free: 87.78 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/4.927, allocations: 0 / 3.082 GB, free: 87.78 MB / 1.167 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002187/4.93, allocations: 1.19 MB / 3.083 GB, free: 86.88 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002323/4.93, allocations: 1.14 MB / 3.084 GB, free: 85.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/4.93, allocations: 4 kB / 3.084 GB, free: 85.67 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008862/4.931, allocations: 214.5 kB / 3.084 GB, free: 85.47 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/4.932, allocations: 204.7 kB / 3.084 GB, free: 85.28 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005271/4.932, allocations: 0.6519 MB / 3.085 GB, free: 84.64 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000874/4.933, allocations: 95.91 kB / 3.085 GB, free: 84.56 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/4.933, allocations: 47.47 kB / 3.085 GB, free: 84.52 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/4.933, allocations: 4 kB / 3.085 GB, free: 84.52 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/4.935, allocations: 0.8917 MB / 3.086 GB, free: 83.88 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/4.935, allocations: 0 / 3.086 GB, free: 83.88 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/4.935, allocations: 8.094 kB / 3.086 GB, free: 83.87 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/4.935, allocations: 203.7 kB / 3.086 GB, free: 83.67 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/4.935, allocations: 11.98 kB / 3.086 GB, free: 83.66 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008016/4.936, allocations: 103.7 kB / 3.086 GB, free: 83.55 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/4.936, allocations: 43.97 kB / 3.086 GB, free: 83.51 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.0005947/4.937, allocations: 422.7 kB / 3.087 GB, free: 83.09 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/4.937, allocations: 114.6 kB / 3.087 GB, free: 82.98 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/4.94, allocations: 1.388 MB / 3.088 GB, free: 81.58 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/4.94, allocations: 12 kB / 3.088 GB, free: 81.57 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/4.94, allocations: 3.953 kB / 3.088 GB, free: 81.56 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/4.94, allocations: 7.969 kB / 3.088 GB, free: 81.55 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004133/4.944, allocations: 2.742 MB / 3.091 GB, free: 78.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/4.944, allocations: 0 / 3.091 GB, free: 78.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/4.945, allocations: 191.7 kB / 3.091 GB, free: 78.55 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008118/4.946, allocations: 212.8 kB / 3.091 GB, free: 78.34 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/4.946, allocations: 31.98 kB / 3.091 GB, free: 78.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/4.947, allocations: 1.878 MB / 3.093 GB, free: 76.29 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/4.948, allocations: 7.938 kB / 3.093 GB, free: 76.28 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/4.95, allocations: 1.493 MB / 3.095 GB, free: 74.71 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006355/4.951, allocations: 363.1 kB / 3.095 GB, free: 74.34 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/4.951, allocations: 27.94 kB / 3.095 GB, free: 74.31 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008915/4.952, allocations: 95.91 kB / 3.095 GB, free: 74.21 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/4.952, allocations: 72.89 kB / 3.095 GB, free: 74.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/4.952, allocations: 40.08 kB / 3.095 GB, free: 74.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001056/4.953, allocations: 0.7192 MB / 3.096 GB, free: 73.37 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.953, allocations: 0 / 3.096 GB, free: 73.37 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001861/4.955, allocations: 0.5233 MB / 3.096 GB, free: 72.85 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.004066/4.959, allocations: 3.108 MB / 3.099 GB, free: 69.88 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002371/4.962, allocations: 1.425 MB / 3.101 GB, free: 68.45 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/4.962, allocations: 3.938 kB / 3.101 GB, free: 68.45 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009613/4.963, allocations: 0.6529 MB / 3.101 GB, free: 67.79 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/4.964, allocations: 308.6 kB / 3.102 GB, free: 67.49 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/4.975, allocations: 8.89 MB / 3.11 GB, free: 58.29 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006932/4.976, allocations: 1.217 MB / 3.112 GB, free: 57.04 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001461/4.977, allocations: 464.3 kB / 3.112 GB, free: 56.59 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/4.978, allocations: 499.2 kB / 3.112 GB, free: 56.1 MB / 1.167 GB Notification: Performance of SimCode: time 6.21e-07/4.978, allocations: 0 / 3.112 GB, free: 56.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05164/5.029, allocations: 27.13 MB / 3.139 GB, free: 29.37 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/5.03, allocations: 291.3 kB / 3.139 GB, free: 29 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/7.911, allocations: 3.938 kB / 3.139 GB, free: 28.99 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat does not exist to compare? outputFormat=mat