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.001238/0.001238, allocations: 92.53 kB / 16.3 MB, free: 5.586 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.001419/0.001419, allocations: 187.4 kB / 17.2 MB, free: 5.52 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.532/1.532, allocations: 205.4 MB / 223.3 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.166/0.166, allocations: 38.03 MB / 309.7 MB, free: 6.133 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.0005456/0.0005456, allocations: 16 kB / 376.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2859, allocations: 56.33 MB / 432.9 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002349/0.2883, allocations: 2.075 MB / 435 MB, free: 16.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005095/0.2889, allocations: 456.1 kB / 435.4 MB, free: 16.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.289, allocations: 0 / 435.4 MB, free: 16.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.289, allocations: 7.922 kB / 435.4 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.2892, allocations: 27.95 kB / 435.5 MB, free: 16.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.012e-05/0.2893, allocations: 19.97 kB / 435.5 MB, free: 16.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.2894, allocations: 67.84 kB / 435.5 MB, free: 16.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2896, allocations: 15.97 kB / 435.6 MB, free: 16.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.62e-05/0.2896, allocations: 35.86 kB / 435.6 MB, free: 16.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.2897, allocations: 39.83 kB / 435.6 MB, free: 16.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2898, allocations: 4 kB / 435.6 MB, free: 16.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.2898, allocations: 4 kB / 435.6 MB, free: 16.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.2898, allocations: 27.84 kB / 435.7 MB, free: 16.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.2898, allocations: 45.58 kB / 435.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.336e-05/0.2899, allocations: 62.12 kB / 435.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2899, allocations: 0 / 435.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2899, allocations: 0 / 435.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.29, allocations: 0 / 435.8 MB, free: 15.92 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.0006786/0.2906, allocations: 406.9 kB / 436.2 MB, free: 15.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2907, allocations: 12.03 kB / 436.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.2907, allocations: 38.55 kB / 436.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.2908, allocations: 15.84 kB / 436.2 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.2909, allocations: 186.9 kB / 436.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.291, allocations: 8 kB / 436.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.291, allocations: 7.938 kB / 436.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.2912, allocations: 97.64 kB / 436.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2912, allocations: 4 kB / 436.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2913, allocations: 0 / 436.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2913, allocations: 3.953 kB / 436.5 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.2915, allocations: 83.94 kB / 436.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.2922, allocations: 465.1 kB / 437.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.2925, allocations: 94.67 kB / 437.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.2925, allocations: 4 kB / 437.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.2925, allocations: 38.55 kB / 437.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.2926, allocations: 0 / 437.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004114/0.293, allocations: 153.5 kB / 437.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.293, allocations: 55.41 kB / 437.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.2931, allocations: 146.3 kB / 437.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.2931, allocations: 25.7 kB / 437.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.2932, allocations: 104.1 kB / 437.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.2932, allocations: 27.66 kB / 437.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-06/0.2932, allocations: 0 / 437.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.2933, allocations: 330.8 kB / 438 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.2934, allocations: 39.97 kB / 438.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.2935, allocations: 71.34 kB / 438.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.2936, allocations: 44.12 kB / 438.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2936, allocations: 0 / 438.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002545/0.2939, allocations: 137.5 kB / 438.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2939, allocations: 11.92 kB / 438.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2939, allocations: 4.188 kB / 438.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2939, allocations: 0 / 438.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.2941, allocations: 39.95 kB / 438.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2941, allocations: 0 / 438.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.441e-05/0.2942, allocations: 15.89 kB / 438.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2942, allocations: 8 kB / 438.4 MB, free: 13.05 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.686e-05/0.2943, allocations: 117.8 kB / 438.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.2943, allocations: 7.906 kB / 438.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.2946, allocations: 142.3 kB / 438.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2947, allocations: 0 / 438.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2947, allocations: 0 / 438.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2947, allocations: 0 / 438.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.2949, allocations: 213.5 kB / 438.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2949, allocations: 0 / 438.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.295, allocations: 31.98 kB / 438.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.295, allocations: 0 / 438.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.295, allocations: 4 kB / 438.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2951, allocations: 0 / 438.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2951, allocations: 3.984 kB / 438.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.2955, allocations: 271.2 kB / 439.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.2955, allocations: 89 kB / 439.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.2955, allocations: 0 / 439.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.2956, allocations: 15.98 kB / 439.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.2957, allocations: 8.062 kB / 439.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.2957, allocations: 3.984 kB / 439.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.598e-05/0.2958, allocations: 107.2 kB / 439.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2958, allocations: 0 / 439.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.296, allocations: 20 kB / 439.4 MB, free: 11.94 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.0005408/0.2965, allocations: 0.7982 MB / 440.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.2968, allocations: 96.62 kB / 440.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2968, allocations: 0 / 440.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.2969, allocations: 43.92 kB / 440.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.2972, allocations: 16.48 kB / 440.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.2984, allocations: 1.325 MB / 441.7 MB, free: 9.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2985, allocations: 0.7004 MB / 442.4 MB, free: 8.844 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.2986, allocations: 12.66 kB / 442.4 MB, free: 8.832 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.2987, allocations: 23.44 kB / 442.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2987, allocations: 0 / 442.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01095/0.3096, allocations: 2.024 MB / 444.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001228/0.3098, allocations: 177.7 kB / 444.6 MB, free: 6.594 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.068, allocations: 0 / 444.6 MB, free: 6.594 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: