Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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_cpp_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_cpp_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.002226/0.002226, allocations: 184.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001131/0.001131, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3053/0.3053, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004476, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1081, allocations: 56.32 MB / 479.1 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.5762, allocations: 87.71 MB / 0.5536 GB, free: 10.58 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.5765, allocations: 83.02 kB / 0.5536 GB, free: 10.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007496/0.584, allocations: 1.752 MB / 0.5553 GB, free: 9.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5841, allocations: 0 / 0.5553 GB, free: 9.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.5841, allocations: 0 / 0.5553 GB, free: 9.07 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.0006426/0.5847, allocations: 410.5 kB / 0.5557 GB, free: 8.629 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5848, allocations: 12.03 kB / 0.5557 GB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.5849, allocations: 38.17 kB / 0.5558 GB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.5849, allocations: 7.906 kB / 0.5558 GB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.5851, allocations: 190 kB / 0.556 GB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.5851, allocations: 11.44 kB / 0.556 GB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.5852, allocations: 7.625 kB / 0.556 GB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.5855, allocations: 92.88 kB / 0.5561 GB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.5855, allocations: 4 kB / 0.5561 GB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.5855, allocations: 3.125 kB / 0.5561 GB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5856, allocations: 0 / 0.5561 GB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.5859, allocations: 85.94 kB / 0.5562 GB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000977/0.5869, allocations: 460.6 kB / 0.5566 GB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.5874, allocations: 104.3 kB / 0.5567 GB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.5875, allocations: 2.406 kB / 0.5567 GB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.5875, allocations: 34.52 kB / 0.5567 GB, free: 7.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.525e-06/0.5875, allocations: 3.938 kB / 0.5567 GB, free: 7.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006812/0.5882, allocations: 165.3 kB / 0.5569 GB, free: 7.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.5882, allocations: 51.41 kB / 0.557 GB, free: 7.387 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.5884, allocations: 131.8 kB / 0.5571 GB, free: 7.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.5884, allocations: 33.33 kB / 0.5571 GB, free: 7.227 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.5885, allocations: 161.7 kB / 0.5573 GB, free: 7.074 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.5885, allocations: 27.72 kB / 0.5573 GB, free: 7.051 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.5885, allocations: 0 / 0.5573 GB, free: 7.051 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.5886, allocations: 314.8 kB / 0.5576 GB, free: 6.734 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.5888, allocations: 38.59 kB / 0.5576 GB, free: 6.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.589, allocations: 72.14 kB / 0.5577 GB, free: 6.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.5892, allocations: 47.98 kB / 0.5577 GB, free: 6.602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5892, allocations: 0 / 0.5577 GB, free: 6.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004714/0.5897, allocations: 135.4 kB / 0.5579 GB, free: 6.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.5898, allocations: 8 kB / 0.5579 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.5898, allocations: 96 / 0.5579 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5898, allocations: 4 kB / 0.5579 GB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.5901, allocations: 27.98 kB / 0.5579 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5901, allocations: 7.938 kB / 0.5579 GB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.5903, allocations: 20.98 kB / 0.5579 GB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.5903, allocations: 1.859 kB / 0.5579 GB, free: 6.422 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 () * 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 9.748e-05/0.5904, allocations: 116 kB / 0.558 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.5905, allocations: 19.86 kB / 0.5581 GB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.591, allocations: 134 kB / 0.5582 GB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.591, allocations: 0 / 0.5582 GB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.591, allocations: 3.984 kB / 0.5582 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5911, allocations: 0 / 0.5582 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.5914, allocations: 210.9 kB / 0.5584 GB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5914, allocations: 3.984 kB / 0.5584 GB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.5917, allocations: 27.98 kB / 0.5584 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.5917, allocations: 0 / 0.5584 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.5917, allocations: 3.953 kB / 0.5584 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5917, allocations: 0 / 0.5584 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5917, allocations: 0 / 0.5584 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.5924, allocations: 270.4 kB / 0.5587 GB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.5925, allocations: 88.98 kB / 0.5588 GB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.5925, allocations: 3.938 kB / 0.5588 GB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.5927, allocations: 23.94 kB / 0.5588 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.5928, allocations: 16.73 kB / 0.5588 GB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.5928, allocations: 0 / 0.5588 GB, free: 5.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.599e-05/0.5929, allocations: 103 kB / 0.5589 GB, free: 5.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5929, allocations: 0 / 0.5589 GB, free: 5.422 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.5933, allocations: 23.62 kB / 0.5589 GB, free: 5.402 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 () * 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.0009091/0.5942, allocations: 0.7952 MB / 0.5597 GB, free: 4.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004889/0.5947, allocations: 97.7 kB / 0.5598 GB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5947, allocations: 0 / 0.5598 GB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.5949, allocations: 59.06 kB / 0.5599 GB, free: 4.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.5952, allocations: 11.89 kB / 0.5599 GB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.5972, allocations: 1.349 MB / 0.5612 GB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.5974, allocations: 0.7043 MB / 0.5619 GB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.5975, allocations: 26.48 kB / 0.5619 GB, free: 2.402 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5975, allocations: 0 / 0.5619 GB, free: 2.402 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.369/2.967, allocations: 1.71 MB / 0.5636 GB, free: 0.7031 MB / 362.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)