Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) 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) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001428, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 87.42 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2145/0.2145, allocations: 37.99 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.066e-05, allocations: 0 / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 56.33 MB / 467 MB, free: 6.477 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5174/0.652, allocations: 86.95 MB / 0.541 GB, free: 7.836 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.6523, allocations: 75.95 kB / 0.541 GB, free: 7.762 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.005363/0.6576, allocations: 1.739 MB / 0.5427 GB, free: 6.031 MB / 379.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6577, allocations: 4 kB / 0.5427 GB, free: 6.027 MB / 379.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.6577, allocations: 5.75 kB / 0.5427 GB, free: 6.023 MB / 379.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005637/0.6583, allocations: 390.5 kB / 0.5431 GB, free: 5.598 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.6583, allocations: 8.031 kB / 0.5431 GB, free: 5.59 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.6584, allocations: 14.22 kB / 0.5431 GB, free: 5.578 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.6587, allocations: 194.9 kB / 0.5433 GB, free: 5.348 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.6587, allocations: 4 kB / 0.5433 GB, free: 5.344 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.6588, allocations: 7.906 kB / 0.5433 GB, free: 5.336 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001538/0.6589, allocations: 47.92 kB / 0.5434 GB, free: 5.289 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.6591, allocations: 65.67 kB / 0.5434 GB, free: 5.219 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.6591, allocations: 4 kB / 0.5434 GB, free: 5.215 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.6591, allocations: 0 / 0.5434 GB, free: 5.215 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6592, allocations: 0 / 0.5434 GB, free: 5.215 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008733/0.66, allocations: 425.9 kB / 0.5438 GB, free: 4.75 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.6603, allocations: 78.62 kB / 0.5439 GB, free: 4.664 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.6604, allocations: 24.86 kB / 0.5439 GB, free: 4.637 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.6604, allocations: 0 / 0.5439 GB, free: 4.637 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6604, allocations: 35.66 kB / 0.544 GB, free: 4.594 MB / 379.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.6604, allocations: 4 kB / 0.544 GB, free: 4.59 MB / 379.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002281/0.6607, allocations: 73.55 kB / 0.5441 GB, free: 4.512 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.6607, allocations: 59.41 kB / 0.5441 GB, free: 4.441 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.6609, allocations: 118.8 kB / 0.5442 GB, free: 4.316 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.6609, allocations: 25.7 kB / 0.5443 GB, free: 4.285 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.888e-05/0.661, allocations: 108.2 kB / 0.5444 GB, free: 4.176 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.661, allocations: 27.64 kB / 0.5444 GB, free: 4.148 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.6611, allocations: 4 kB / 0.5444 GB, free: 4.145 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6612, allocations: 318.8 kB / 0.5447 GB, free: 3.824 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.6613, allocations: 23.94 kB / 0.5447 GB, free: 3.801 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.6614, allocations: 43.42 kB / 0.5448 GB, free: 3.746 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.693e-05/0.6614, allocations: 24 kB / 0.5448 GB, free: 3.723 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6614, allocations: 4 kB / 0.5448 GB, free: 3.719 MB / 379.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001903/0.6616, allocations: 101.7 kB / 0.5449 GB, free: 3.613 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.6616, allocations: 4 kB / 0.5449 GB, free: 3.609 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.6617, allocations: 0 / 0.5449 GB, free: 3.609 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6617, allocations: 4 kB / 0.5449 GB, free: 3.605 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.6619, allocations: 31.92 kB / 0.5449 GB, free: 3.574 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.6619, allocations: 3.953 kB / 0.5449 GB, free: 3.57 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.662, allocations: 19.98 kB / 0.5449 GB, free: 3.551 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.662, allocations: 4 kB / 0.5449 GB, free: 3.547 MB / 379.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.6621, allocations: 101 kB / 0.545 GB, free: 3.441 MB / 379.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001427/0.6623, allocations: 85.53 kB / 0.5451 GB, free: 3.352 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.6623, allocations: 7.906 kB / 0.5451 GB, free: 3.344 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.6625, allocations: 99.12 kB / 0.5452 GB, free: 3.238 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6625, allocations: 0 / 0.5452 GB, free: 3.238 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6625, allocations: 3.938 kB / 0.5452 GB, free: 3.234 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.6626, allocations: 4 kB / 0.5452 GB, free: 3.23 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.6628, allocations: 186.1 kB / 0.5454 GB, free: 3.012 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6628, allocations: 4 kB / 0.5454 GB, free: 3.008 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.663, allocations: 23.98 kB / 0.5454 GB, free: 2.984 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.663, allocations: 0 / 0.5454 GB, free: 2.984 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.663, allocations: 0 / 0.5454 GB, free: 2.984 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.663, allocations: 0 / 0.5454 GB, free: 2.984 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.663, allocations: 7.891 kB / 0.5454 GB, free: 2.977 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.6634, allocations: 211.8 kB / 0.5456 GB, free: 2.754 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.6634, allocations: 88.98 kB / 0.5457 GB, free: 2.648 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.6635, allocations: 32 / 0.5457 GB, free: 2.648 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.6636, allocations: 8 kB / 0.5457 GB, free: 2.641 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.6636, allocations: 7.984 kB / 0.5457 GB, free: 2.633 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.6637, allocations: 3.953 kB / 0.5457 GB, free: 2.629 MB / 379.1 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.6637, allocations: 99.89 kB / 0.5458 GB, free: 2.531 MB / 379.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6637, allocations: 64 / 0.5458 GB, free: 2.531 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.664, allocations: 27.91 kB / 0.5459 GB, free: 2.504 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007616/0.6648, allocations: 0.7494 MB / 0.5466 GB, free: 1.73 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.665, allocations: 63.88 kB / 0.5467 GB, free: 1.668 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.665, allocations: 0 / 0.5467 GB, free: 1.668 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 5.297e-05/0.665, allocations: 24.25 kB / 0.5467 GB, free: 1.645 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.6653, allocations: 8.469 kB / 0.5467 GB, free: 1.637 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.6661, allocations: 241.9 kB / 0.5469 GB, free: 1.363 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.6664, allocations: 0.7079 MB / 0.5476 GB, free: 0.6289 MB / 379.1 MB Notification: Performance of simCode: alias equations: time 9.19e-05/0.6665, allocations: 11.98 kB / 0.5476 GB, free: 0.6172 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.6666, allocations: 27.44 kB / 0.5477 GB, free: 0.5898 MB / 379.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6666, allocations: 0 / 0.5477 GB, free: 0.5898 MB / 379.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.6906, allocations: 1.652 MB / 0.5493 GB, free: 14.94 MB / 395.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.6909, allocations: 134.5 kB / 0.5494 GB, free: 14.75 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.462, allocations: 0 / 0.5494 GB, free: 14.75 MB / 395.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat does not exist to compare? outputFormat=mat