Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007892/0.0007889, allocations: 94.3 kB / 16.32 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008847/0.0008848, allocations: 180 kB / 17.21 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1954/0.1954, allocations: 38.05 MB / 309.7 MB, free: 6.031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005528/0.0005529, allocations: 15.28 kB / 376.6 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3185, allocations: 56.32 MB / 432.9 MB, free: 18.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002433/0.321, allocations: 2.108 MB / 435 MB, free: 16.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004899/0.3215, allocations: 452.1 kB / 435.5 MB, free: 16.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.3216, allocations: 0 / 435.5 MB, free: 16.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.053e-05/0.3217, allocations: 7.922 kB / 435.5 MB, free: 16.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.3218, allocations: 27.78 kB / 435.5 MB, free: 16.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.82e-05/0.3219, allocations: 19.97 kB / 435.5 MB, free: 16.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.322, allocations: 87.64 kB / 435.6 MB, free: 16.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3221, allocations: 16 kB / 435.6 MB, free: 16.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.3222, allocations: 35.84 kB / 435.7 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.878e-05/0.3223, allocations: 43.77 kB / 435.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3224, allocations: 4 kB / 435.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.3224, allocations: 4 kB / 435.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.3224, allocations: 11.98 kB / 435.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.3224, allocations: 45.62 kB / 435.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.533e-05/0.3225, allocations: 66.11 kB / 435.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3225, allocations: 0 / 435.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3225, allocations: 4 kB / 435.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3225, allocations: 0 / 435.9 MB, free: 15.86 MB / 318.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.0005164/0.3231, allocations: 402.9 kB / 436.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3231, allocations: 12.03 kB / 436.3 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.3232, allocations: 38.56 kB / 436.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.3232, allocations: 15.86 kB / 436.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3233, allocations: 194.8 kB / 436.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3234, allocations: 7.938 kB / 436.5 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3234, allocations: 8 kB / 436.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.3236, allocations: 97.62 kB / 436.6 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3236, allocations: 3.938 kB / 436.6 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3236, allocations: 4 kB / 436.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3237, allocations: 3.953 kB / 436.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.3239, allocations: 87.88 kB / 436.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.3245, allocations: 465.2 kB / 437.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.3248, allocations: 98.59 kB / 437.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.325, allocations: 48.83 kB / 437.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.325, allocations: 4 kB / 437.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.325, allocations: 30.56 kB / 437.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.325, allocations: 0 / 437.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003773/0.3254, allocations: 153.5 kB / 437.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.3254, allocations: 59.34 kB / 437.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.3255, allocations: 138.3 kB / 437.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.3255, allocations: 25.7 kB / 437.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.3256, allocations: 108.1 kB / 437.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3256, allocations: 31.8 kB / 437.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.3256, allocations: 0 / 437.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.3257, allocations: 326.8 kB / 438.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.827e-05/0.3258, allocations: 35.97 kB / 438.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3259, allocations: 71.41 kB / 438.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.326, allocations: 39.98 kB / 438.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.326, allocations: 0 / 438.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002454/0.3263, allocations: 141.4 kB / 438.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3263, allocations: 4 kB / 438.5 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3263, allocations: 4 kB / 438.5 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3263, allocations: 0 / 438.5 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.3265, allocations: 31.98 kB / 438.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3265, allocations: 4.094 kB / 438.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.3266, allocations: 15.89 kB / 438.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3266, allocations: 8 kB / 438.5 MB, free: 12.94 MB / 318.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 () * 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 6.231e-05/0.3267, allocations: 125.7 kB / 438.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3267, allocations: 11.91 kB / 438.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.327, allocations: 134.3 kB / 438.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.327, allocations: 192 / 438.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.327, allocations: 0 / 438.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.327, allocations: 3.938 kB / 438.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.3272, allocations: 221.4 kB / 439 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3272, allocations: 0 / 439 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.3274, allocations: 39.91 kB / 439 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3274, allocations: 0 / 439 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3274, allocations: 0 / 439 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3274, allocations: 0 / 439 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3274, allocations: 0 / 439 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.3278, allocations: 267.3 kB / 439.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.3278, allocations: 93 kB / 439.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.3279, allocations: 0 / 439.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.328, allocations: 11.98 kB / 439.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.328, allocations: 7.984 kB / 439.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.328, allocations: 4.062 kB / 439.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.3281, allocations: 107.3 kB / 439.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3281, allocations: 0 / 439.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.3283, allocations: 16 kB / 439.5 MB, free: 11.82 MB / 318.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 () * 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.0005354/0.3289, allocations: 0.806 MB / 440.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.3291, allocations: 92.58 kB / 440.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3291, allocations: 0 / 440.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3292, allocations: 47.91 kB / 440.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.3296, allocations: 16 kB / 440.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3308, allocations: 0.8652 MB / 441.4 MB, free: 9.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3309, allocations: 0.7081 MB / 442.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.138e-05/0.331, allocations: 8.672 kB / 442.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.3311, allocations: 31.42 kB / 442.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3311, allocations: 0 / 442.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.3449, allocations: 2.056 MB / 444.2 MB, free: 7.141 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.3451, allocations: 182.6 kB / 444.3 MB, free: 6.895 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.037, allocations: 0 / 444.3 MB, free: 6.895 MB / 318.1 MB (rm -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) Environment - environmentSimulation: