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.001083/0.001083, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.2 MB / 219.4 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008485/0.0008485, allocations: 90.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1588/0.1588, allocations: 37.96 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.942e-05, allocations: 7.984 kB / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1199, allocations: 56.31 MB / 474.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4152/0.5352, allocations: 87.62 MB / 0.5486 GB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.5355, allocations: 82.12 kB / 0.5487 GB, free: 11.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00468/0.5402, allocations: 1.744 MB / 0.5504 GB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5402, allocations: 0 / 0.5504 GB, free: 10.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.5403, allocations: 0 / 0.5504 GB, free: 10.48 MB / 362.7 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.0004449/0.5407, allocations: 403.8 kB / 0.5508 GB, free: 10.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.5408, allocations: 7.688 kB / 0.5508 GB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.5408, allocations: 41.02 kB / 0.5508 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.5408, allocations: 7.875 kB / 0.5508 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.541, allocations: 187 kB / 0.551 GB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.541, allocations: 7.094 kB / 0.551 GB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.5411, allocations: 7.75 kB / 0.551 GB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.5412, allocations: 78.03 kB / 0.5511 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.5412, allocations: 0 / 0.5511 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.5413, allocations: 3.844 kB / 0.5511 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5413, allocations: 4 kB / 0.5511 GB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.5414, allocations: 51.7 kB / 0.5511 GB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.5421, allocations: 452.9 kB / 0.5516 GB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.5423, allocations: 85.81 kB / 0.5517 GB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.5424, allocations: 26.83 kB / 0.5517 GB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.5424, allocations: 0 / 0.5517 GB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.5424, allocations: 42.41 kB / 0.5517 GB, free: 9.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.5424, allocations: 4.922 kB / 0.5517 GB, free: 9.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000192/0.5426, allocations: 82.91 kB / 0.5518 GB, free: 9.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.5427, allocations: 51.41 kB / 0.5519 GB, free: 9.207 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.5428, allocations: 126.6 kB / 0.552 GB, free: 9.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.5428, allocations: 32.89 kB / 0.552 GB, free: 9.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.5428, allocations: 103.6 kB / 0.5521 GB, free: 8.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.5429, allocations: 27.23 kB / 0.5521 GB, free: 8.961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.5429, allocations: 2.5 kB / 0.5521 GB, free: 8.961 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.5429, allocations: 322.5 kB / 0.5524 GB, free: 8.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.165e-05/0.543, allocations: 26.53 kB / 0.5525 GB, free: 8.637 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.053e-05/0.543, allocations: 45.34 kB / 0.5525 GB, free: 8.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.31e-05/0.5431, allocations: 36.58 kB / 0.5525 GB, free: 8.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5431, allocations: 0 / 0.5525 GB, free: 8.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001456/0.5433, allocations: 104.7 kB / 0.5526 GB, free: 8.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.5433, allocations: 7.781 kB / 0.5527 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5433, allocations: 3.844 kB / 0.5527 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5433, allocations: 0 / 0.5527 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.5435, allocations: 35.12 kB / 0.5527 GB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.5435, allocations: 3.844 kB / 0.5527 GB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.66e-05/0.5436, allocations: 18.73 kB / 0.5527 GB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5436, allocations: 3.844 kB / 0.5527 GB, free: 8.523 MB / 362.7 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 5.423e-05/0.5437, allocations: 104.3 kB / 0.5528 GB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.5437, allocations: 11.77 kB / 0.5528 GB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.5439, allocations: 109.1 kB / 0.5529 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5439, allocations: 3.844 kB / 0.5529 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5439, allocations: 0 / 0.5529 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.5439, allocations: 3.984 kB / 0.5529 GB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.5441, allocations: 204.5 kB / 0.5531 GB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5441, allocations: 0 / 0.5531 GB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.5443, allocations: 29.08 kB / 0.5532 GB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5443, allocations: 0 / 0.5532 GB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.5443, allocations: 3.953 kB / 0.5532 GB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5443, allocations: 4 kB / 0.5532 GB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5443, allocations: 3.906 kB / 0.5532 GB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.5446, allocations: 215.2 kB / 0.5534 GB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.5446, allocations: 91.97 kB / 0.5535 GB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.5446, allocations: 3.938 kB / 0.5535 GB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5447, allocations: 11.64 kB / 0.5535 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.5448, allocations: 11.39 kB / 0.5535 GB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.5448, allocations: 4.062 kB / 0.5535 GB, free: 7.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.693e-05/0.5449, allocations: 105.9 kB / 0.5536 GB, free: 7.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5449, allocations: 0 / 0.5536 GB, free: 7.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.5451, allocations: 26.56 kB / 0.5536 GB, free: 7.789 MB / 362.7 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.0003725/0.5455, allocations: 0.7461 MB / 0.5543 GB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.5456, allocations: 65.41 kB / 0.5544 GB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5456, allocations: 3.938 kB / 0.5544 GB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/0.5457, allocations: 28.81 kB / 0.5544 GB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.5459, allocations: 17.75 kB / 0.5545 GB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.5465, allocations: 249.1 kB / 0.5547 GB, free: 6.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.5466, allocations: 0.6997 MB / 0.5554 GB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.11e-05/0.5467, allocations: 12.5 kB / 0.5554 GB, free: 6.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.5468, allocations: 29.27 kB / 0.5554 GB, free: 6.172 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5468, allocations: 0 / 0.5554 GB, free: 6.172 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.5586, allocations: 2.05 MB / 0.5574 GB, free: 4.754 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001307/0.5588, allocations: 152.4 kB / 0.5576 GB, free: 4.527 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.289, allocations: 0 / 0.5576 GB, free: 4.527 MB / 362.7 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