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.384/2.384, allocations: 390.5 MB / 398 MB, free: 10.93 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.001136/0.001136, allocations: 184.8 kB / 491.2 MB, free: 1.566 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.602/1.602, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.0009462/0.0009462, allocations: 91.52 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.13e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3051, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.779/5.084, allocations: 1.766 GB / 2.978 GB, free: 73.05 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/5.084, allocations: 107.5 kB / 2.979 GB, free: 72.99 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1496/5.234, allocations: 68.27 MB / 3.045 GB, free: 8.16 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.653e-06/5.234, allocations: 4 kB / 3.045 GB, free: 8.156 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001004/5.234, allocations: 35.94 kB / 3.045 GB, free: 8.121 MB / 1.151 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.002269/5.236, allocations: 1.408 MB / 3.047 GB, free: 6.656 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/5.236, allocations: 8.031 kB / 3.047 GB, free: 6.648 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/5.238, allocations: 313.8 kB / 3.047 GB, free: 6.34 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/5.239, allocations: 0.8339 MB / 3.048 GB, free: 5.461 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/5.239, allocations: 32 kB / 3.048 GB, free: 5.43 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/5.24, allocations: 60 kB / 3.048 GB, free: 5.371 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001717/5.241, allocations: 1.292 MB / 3.049 GB, free: 4.074 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/5.243, allocations: 1.123 MB / 3.05 GB, free: 2.863 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/5.243, allocations: 0 / 3.05 GB, free: 2.863 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.314e-05/5.243, allocations: 4 kB / 3.05 GB, free: 2.859 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.701e-05/5.243, allocations: 57.98 kB / 3.05 GB, free: 2.805 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7078/5.951, allocations: 4.532 MB / 3.055 GB, free: 385.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/5.953, allocations: 0.9162 MB / 3.056 GB, free: 385.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005839/5.953, allocations: 386.2 kB / 3.056 GB, free: 385.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/5.954, allocations: 120.7 kB / 3.056 GB, free: 385.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009703/5.955, allocations: 0.5247 MB / 3.057 GB, free: 385.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=94): time 3.036e-06/5.955, allocations: 0.8125 kB / 3.057 GB, free: 385.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.003389/5.958, allocations: 1.369 MB / 3.058 GB, free: 384.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/5.958, allocations: 295.1 kB / 3.058 GB, free: 384.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/5.96, allocations: 0.7799 MB / 3.059 GB, free: 384.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.494e-05/5.96, allocations: 28.47 kB / 3.059 GB, free: 384.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/5.96, allocations: 0.5472 MB / 3.06 GB, free: 384.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/5.961, allocations: 310.1 kB / 3.06 GB, free: 383.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/5.961, allocations: 0 / 3.06 GB, free: 383.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.633e-05/5.961, allocations: 339.8 kB / 3.06 GB, free: 383.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/5.961, allocations: 313.6 kB / 3.06 GB, free: 383.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/5.962, allocations: 0.4964 MB / 3.061 GB, free: 383.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008979/5.963, allocations: 418.9 kB / 3.061 GB, free: 383.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/5.963, allocations: 0 / 3.061 GB, free: 383.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002391/5.965, allocations: 1.055 MB / 3.062 GB, free: 383.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003378/5.966, allocations: 1.143 MB / 3.063 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/5.966, allocations: 8.609 kB / 3.064 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007431/5.966, allocations: 122.6 kB / 3.064 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/5.967, allocations: 205.7 kB / 3.064 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005835/5.968, allocations: 0.6437 MB / 3.064 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009313/5.969, allocations: 87.98 kB / 3.065 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-05/5.969, allocations: 41.02 kB / 3.065 GB, free: 381.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/5.969, allocations: 6.375 kB / 3.065 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001556/5.971, allocations: 0.7794 MB / 3.065 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/5.971, allocations: 2.594 kB / 3.065 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/5.971, allocations: 10.38 kB / 3.065 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/5.971, allocations: 211 kB / 3.066 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/5.971, allocations: 17.14 kB / 3.066 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008011/5.972, allocations: 81.55 kB / 3.066 GB, free: 381.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/5.972, allocations: 37.77 kB / 3.066 GB, free: 381.5 MB / 1.151 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.000275/5.973, allocations: 126.6 kB / 3.066 GB, free: 381.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003016/5.976, allocations: 1.032 MB / 3.067 GB, free: 381.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/5.976, allocations: 103.4 kB / 3.067 GB, free: 381.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/5.979, allocations: 1.311 MB / 3.068 GB, free: 381.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/5.98, allocations: 14.08 kB / 3.068 GB, free: 381.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/5.98, allocations: 2.281 kB / 3.068 GB, free: 381.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/5.98, allocations: 7.734 kB / 3.068 GB, free: 381.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004821/5.984, allocations: 2.498 MB / 3.071 GB, free: 380.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/5.984, allocations: 2.625 kB / 3.071 GB, free: 380.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/5.985, allocations: 194.6 kB / 3.071 GB, free: 380.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009316/5.986, allocations: 215.8 kB / 3.071 GB, free: 380.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/5.986, allocations: 16.31 kB / 3.071 GB, free: 380.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/5.988, allocations: 1.758 MB / 3.073 GB, free: 379.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/5.988, allocations: 1.375 kB / 3.073 GB, free: 379.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/5.991, allocations: 1.421 MB / 3.074 GB, free: 379 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007396/5.992, allocations: 352 kB / 3.075 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/5.992, allocations: 5.484 kB / 3.075 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/5.993, allocations: 77.12 kB / 3.075 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/5.993, allocations: 75.08 kB / 3.075 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/5.993, allocations: 36.08 kB / 3.075 GB, free: 378.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001013/5.994, allocations: 0.6149 MB / 3.075 GB, free: 378.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.01e-07/5.994, allocations: 0 / 3.075 GB, free: 378.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002274/5.996, allocations: 488.3 kB / 3.076 GB, free: 378.8 MB / 1.151 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.004844/6.001, allocations: 2.962 MB / 3.079 GB, free: 377.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003017/6.004, allocations: 1.313 MB / 3.08 GB, free: 377.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/6.004, allocations: 4.375 kB / 3.08 GB, free: 377.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/6.006, allocations: 0.5968 MB / 3.081 GB, free: 377.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/6.007, allocations: 279.7 kB / 3.081 GB, free: 377.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/6.013, allocations: 2.034 MB / 3.083 GB, free: 376.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009664/6.014, allocations: 1.217 MB / 3.084 GB, free: 375.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002202/6.016, allocations: 0.5969 MB / 3.085 GB, free: 375.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006277/6.016, allocations: 482.4 kB / 3.085 GB, free: 375.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.162e-06/6.016, allocations: 1.438 kB / 3.085 GB, free: 375.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06194/6.078, allocations: 26.52 MB / 3.111 GB, free: 374.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/6.079, allocations: 205.8 kB / 3.111 GB, free: 373.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/9.04, allocations: 0 / 3.111 GB, free: 373.9 MB / 1.151 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