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.0009214/0.0009214, allocations: 181.2 kB / 16.39 MB, free: 5.762 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.236/1.236, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.0007353/0.0007351, allocations: 90.7 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1544/0.1544, allocations: 38.06 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002964, allocations: 8 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2627, allocations: 56.31 MB / 480.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3704, allocations: 87.72 MB / 0.5548 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.3707, allocations: 83.95 kB / 0.5549 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00473/0.3754, allocations: 1.75 MB / 0.5566 GB, free: 12.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3754, allocations: 0 / 0.5566 GB, free: 12.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3754, allocations: 4 kB / 0.5566 GB, free: 12.86 MB / 394.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.0004983/0.3759, allocations: 413.1 kB / 0.557 GB, free: 12.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.376, allocations: 12.03 kB / 0.557 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.376, allocations: 34.55 kB / 0.557 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.3761, allocations: 11.91 kB / 0.557 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3762, allocations: 194.8 kB / 0.5572 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.3762, allocations: 8 kB / 0.5572 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.3763, allocations: 8 kB / 0.5572 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.3765, allocations: 89.64 kB / 0.5573 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3765, allocations: 7.938 kB / 0.5573 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3765, allocations: 4 kB / 0.5573 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3766, allocations: 0 / 0.5573 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.3768, allocations: 83.94 kB / 0.5574 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007176/0.3775, allocations: 453.2 kB / 0.5579 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.3778, allocations: 110.6 kB / 0.558 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.3779, allocations: 0 / 0.558 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.3779, allocations: 38.52 kB / 0.558 GB, free: 11.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.933e-06/0.3779, allocations: 4 kB / 0.558 GB, free: 11.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.00042/0.3783, allocations: 157.4 kB / 0.5582 GB, free: 11.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.3784, allocations: 51.41 kB / 0.5582 GB, free: 11.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.3785, allocations: 132.9 kB / 0.5583 GB, free: 10.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3785, allocations: 29.7 kB / 0.5584 GB, free: 10.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.3785, allocations: 100 kB / 0.5585 GB, free: 10.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.3786, allocations: 23.8 kB / 0.5585 GB, free: 10.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.3786, allocations: 0 / 0.5585 GB, free: 10.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.3787, allocations: 322.8 kB / 0.5588 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3788, allocations: 39.97 kB / 0.5588 GB, free: 10.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3789, allocations: 67.41 kB / 0.5589 GB, free: 10.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.379, allocations: 47.98 kB / 0.5589 GB, free: 10.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.379, allocations: 0 / 0.5589 GB, free: 10.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002849/0.3793, allocations: 149.5 kB / 0.5591 GB, free: 10.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3794, allocations: 4 kB / 0.5591 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3794, allocations: 96 / 0.5591 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3794, allocations: 8 kB / 0.5591 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.3796, allocations: 23.98 kB / 0.5591 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3796, allocations: 4 kB / 0.5591 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3797, allocations: 19.83 kB / 0.5591 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3797, allocations: 4 kB / 0.5591 GB, free: 10.02 MB / 394.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 () * Number of clocked 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 8.479e-05/0.3798, allocations: 121.8 kB / 0.5593 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.3798, allocations: 15.86 kB / 0.5593 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.3801, allocations: 126.3 kB / 0.5594 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3802, allocations: 0 / 0.5594 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3802, allocations: 4 kB / 0.5594 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3802, allocations: 3.984 kB / 0.5594 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.3804, allocations: 209.6 kB / 0.5596 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3804, allocations: 0 / 0.5596 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.3806, allocations: 31.91 kB / 0.5596 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3806, allocations: 0 / 0.5596 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3806, allocations: 3.953 kB / 0.5596 GB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3806, allocations: 4 kB / 0.5596 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3806, allocations: 0 / 0.5596 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.3811, allocations: 271.8 kB / 0.5599 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.3811, allocations: 84.95 kB / 0.56 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.3811, allocations: 4.031 kB / 0.56 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3813, allocations: 19.94 kB / 0.56 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.3813, allocations: 11.98 kB / 0.56 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3813, allocations: 4 kB / 0.56 GB, free: 9.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.879e-05/0.3814, allocations: 103.3 kB / 0.5601 GB, free: 8.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3814, allocations: 3.938 kB / 0.5601 GB, free: 8.918 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.3816, allocations: 16.19 kB / 0.5601 GB, free: 8.902 MB / 394.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 () * Number of clocked 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.0006334/0.3823, allocations: 0.814 MB / 0.5609 GB, free: 8.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.3825, allocations: 91.89 kB / 0.561 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3825, allocations: 0 / 0.561 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.3827, allocations: 56.09 kB / 0.5611 GB, free: 7.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.3829, allocations: 14.61 kB / 0.5611 GB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3842, allocations: 1.314 MB / 0.5624 GB, free: 6.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.3845, allocations: 0.7043 MB / 0.5631 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.145e-05/0.3845, allocations: 4.672 kB / 0.5631 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.3846, allocations: 31.36 kB / 0.5631 GB, free: 5.75 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3846, allocations: 0 / 0.5631 GB, free: 5.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.3958, allocations: 2.061 MB / 0.5651 GB, free: 3.746 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.396, allocations: 176.1 kB / 0.5653 GB, free: 3.504 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.017, allocations: 0 / 0.5653 GB, free: 3.504 MB / 394.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