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.353/2.353, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001541/0.001541, allocations: 180.5 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001023/0.001023, allocations: 84.03 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.494e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3015, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.702/5.003, allocations: 1.767 GB / 2.986 GB, free: 46.29 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/5.003, allocations: 103.9 kB / 2.986 GB, free: 46.18 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9078/5.911, allocations: 68.73 MB / 3.053 GB, free: 407.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.873e-06/5.911, allocations: 0 / 3.053 GB, free: 407.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001114/5.911, allocations: 33.09 kB / 3.053 GB, free: 407.2 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.0025/5.914, allocations: 1.416 MB / 3.054 GB, free: 406.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/5.914, allocations: 9.562 kB / 3.054 GB, free: 406.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/5.914, allocations: 166.2 kB / 3.054 GB, free: 406.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/5.916, allocations: 305.3 kB / 3.055 GB, free: 406.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/5.918, allocations: 0.8365 MB / 3.055 GB, free: 406 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.416e-05/5.918, allocations: 79.02 kB / 3.056 GB, free: 406 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/5.918, allocations: 107.3 kB / 3.056 GB, free: 406 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/5.921, allocations: 1.268 MB / 3.057 GB, free: 405.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/5.921, allocations: 0.75 kB / 3.057 GB, free: 405.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/5.921, allocations: 46.34 kB / 3.057 GB, free: 405.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/5.921, allocations: 71.27 kB / 3.057 GB, free: 405.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/5.923, allocations: 1.415 MB / 3.058 GB, free: 405.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00706/5.93, allocations: 4.757 MB / 3.063 GB, free: 403.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/5.932, allocations: 0.9732 MB / 3.064 GB, free: 403.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/5.933, allocations: 414 kB / 3.064 GB, free: 403 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/5.934, allocations: 120.2 kB / 3.065 GB, free: 402.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009724/5.935, allocations: 0.5528 MB / 3.065 GB, free: 402.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 3.737e-06/5.935, allocations: 5.062 kB / 3.065 GB, free: 402.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=95): time 0.003559/5.938, allocations: 1.427 MB / 3.066 GB, free: 402 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/5.938, allocations: 303.1 kB / 3.067 GB, free: 401.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/5.94, allocations: 0.8872 MB / 3.068 GB, free: 401.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.019e-05/5.94, allocations: 50.55 kB / 3.068 GB, free: 401.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/5.94, allocations: 0.5389 MB / 3.068 GB, free: 400.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/5.941, allocations: 315.7 kB / 3.068 GB, free: 400.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/5.941, allocations: 15.91 kB / 3.068 GB, free: 400.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/5.941, allocations: 343.2 kB / 3.069 GB, free: 400.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/5.941, allocations: 326.7 kB / 3.069 GB, free: 400.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/5.942, allocations: 0.5111 MB / 3.07 GB, free: 399.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/5.943, allocations: 418 kB / 3.07 GB, free: 399.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/5.943, allocations: 1 kB / 3.07 GB, free: 399.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002392/5.945, allocations: 1.135 MB / 3.071 GB, free: 399.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003077/5.945, allocations: 1.143 MB / 3.072 GB, free: 398 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/5.945, allocations: 4.25 kB / 3.072 GB, free: 398 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009406/5.946, allocations: 214.1 kB / 3.072 GB, free: 398 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/5.947, allocations: 201 kB / 3.073 GB, free: 397.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005837/5.948, allocations: 0.6548 MB / 3.073 GB, free: 397.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/5.949, allocations: 99.92 kB / 3.073 GB, free: 397.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.575e-05/5.949, allocations: 38.64 kB / 3.073 GB, free: 397.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/5.949, allocations: 3.312 kB / 3.073 GB, free: 397.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001462/5.951, allocations: 0.8345 MB / 3.074 GB, free: 397.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/5.951, allocations: 1.844 kB / 3.074 GB, free: 397.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/5.951, allocations: 7.594 kB / 3.074 GB, free: 397.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/5.951, allocations: 210.4 kB / 3.074 GB, free: 397 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/5.952, allocations: 10.31 kB / 3.074 GB, free: 397 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/5.952, allocations: 98.14 kB / 3.075 GB, free: 397 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/5.953, allocations: 45.41 kB / 3.075 GB, free: 397 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 () * 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.0003018/5.953, allocations: 160 kB / 3.075 GB, free: 396.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/5.953, allocations: 117.4 kB / 3.075 GB, free: 396.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/5.956, allocations: 1.356 MB / 3.076 GB, free: 396.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/5.956, allocations: 11.12 kB / 3.076 GB, free: 396.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/5.956, allocations: 1.062 kB / 3.076 GB, free: 396.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/5.956, allocations: 5.062 kB / 3.076 GB, free: 396.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004657/5.961, allocations: 2.68 MB / 3.079 GB, free: 395.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/5.961, allocations: 2.094 kB / 3.079 GB, free: 395.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/5.962, allocations: 204 kB / 3.079 GB, free: 395.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008261/5.962, allocations: 205.4 kB / 3.079 GB, free: 395.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.482e-05/5.963, allocations: 27.2 kB / 3.079 GB, free: 395.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/5.964, allocations: 1.831 MB / 3.081 GB, free: 393.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/5.964, allocations: 2.219 kB / 3.081 GB, free: 393.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/5.967, allocations: 1.442 MB / 3.082 GB, free: 392.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006934/5.968, allocations: 361.6 kB / 3.083 GB, free: 392.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/5.968, allocations: 23.8 kB / 3.083 GB, free: 392.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008296/5.969, allocations: 101.8 kB / 3.083 GB, free: 392.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/5.969, allocations: 74.38 kB / 3.083 GB, free: 392.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.876e-05/5.969, allocations: 36.12 kB / 3.083 GB, free: 392.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00108/5.97, allocations: 0.7003 MB / 3.084 GB, free: 392.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/5.97, allocations: 0 / 3.084 GB, free: 392.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001889/5.972, allocations: 0.5255 MB / 3.084 GB, free: 392.1 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) * 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.004052/5.976, allocations: 3.038 MB / 3.087 GB, free: 390.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002699/5.979, allocations: 1.381 MB / 3.089 GB, free: 389.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/5.979, allocations: 1.281 kB / 3.089 GB, free: 389.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/5.98, allocations: 0.6364 MB / 3.089 GB, free: 389.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/5.982, allocations: 293.2 kB / 3.089 GB, free: 389.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/5.986, allocations: 2.123 MB / 3.091 GB, free: 388.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007049/5.987, allocations: 1.219 MB / 3.093 GB, free: 387.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001761/5.989, allocations: 0.5981 MB / 3.093 GB, free: 387.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/5.989, allocations: 484.4 kB / 3.094 GB, free: 387.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.312e-06/5.989, allocations: 0 / 3.094 GB, free: 387.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05305/6.042, allocations: 28.48 MB / 3.122 GB, free: 381.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/6.043, allocations: 250.2 kB / 3.122 GB, free: 381.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.031/9.074, allocations: 0 / 3.122 GB, free: 381.3 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