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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001517/0.001517, allocations: 107.9 kB / 17.06 MB, free: 6.016 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.001496/0.001496, allocations: 189.4 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.181/0.181, allocations: 38.04 MB / 329.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 59.91 kB / 457.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.296, allocations: 58.06 MB / 0.5036 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003116/0.2991, allocations: 2.444 MB / 0.506 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004873/0.2996, allocations: 440.4 kB / 0.5064 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.2997, allocations: 1.031 kB / 0.5064 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.049e-05/0.2998, allocations: 11.73 kB / 0.5064 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.2999, allocations: 26.11 kB / 0.5065 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.109e-05/0.3, allocations: 32.94 kB / 0.5065 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3002, allocations: 95.67 kB / 0.5066 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3003, allocations: 16.59 kB / 0.5066 GB, free: 5.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.912e-05/0.3004, allocations: 47.66 kB / 0.5066 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.3005, allocations: 44.47 kB / 0.5067 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.3005, allocations: 7.656 kB / 0.5067 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.3005, allocations: 7.781 kB / 0.5067 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.3006, allocations: 26.58 kB / 0.5067 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.3006, allocations: 41.62 kB / 0.5068 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.3008, allocations: 93.48 kB / 0.5069 GB, free: 5.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3008, allocations: 4.938 kB / 0.5069 GB, free: 5.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3008, allocations: 0 / 0.5069 GB, free: 5.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3008, allocations: 0 / 0.5069 GB, free: 5.246 MB / 382.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.0005466/0.3013, allocations: 417.7 kB / 0.5073 GB, free: 4.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3014, allocations: 9.219 kB / 0.5073 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.3014, allocations: 38.75 kB / 0.5073 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.3014, allocations: 13.39 kB / 0.5073 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.3016, allocations: 205.8 kB / 0.5075 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3016, allocations: 4 kB / 0.5075 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3017, allocations: 15.28 kB / 0.5075 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.3019, allocations: 91.62 kB / 0.5076 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3019, allocations: 4 kB / 0.5076 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3019, allocations: 5.312 kB / 0.5076 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3019, allocations: 1.859 kB / 0.5076 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.3022, allocations: 68.73 kB / 0.5077 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/0.3029, allocations: 457.4 kB / 0.5081 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.3032, allocations: 97.23 kB / 0.5082 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3033, allocations: 42.05 kB / 0.5083 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.3033, allocations: 9.391 kB / 0.5083 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.3033, allocations: 32.61 kB / 0.5083 GB, free: 3.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3033, allocations: 4 kB / 0.5083 GB, free: 3.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004225/0.3038, allocations: 138.8 kB / 0.5084 GB, free: 3.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.3038, allocations: 53.61 kB / 0.5085 GB, free: 3.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.3039, allocations: 139 kB / 0.5086 GB, free: 3.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.3039, allocations: 25.7 kB / 0.5086 GB, free: 3.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.304, allocations: 108.2 kB / 0.5087 GB, free: 3.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.304, allocations: 24.33 kB / 0.5088 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.304, allocations: 26.34 kB / 0.5088 GB, free: 3.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.3041, allocations: 320.7 kB / 0.5091 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3042, allocations: 32.25 kB / 0.5091 GB, free: 3.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.3043, allocations: 61.67 kB / 0.5092 GB, free: 3.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.3045, allocations: 100.9 kB / 0.5093 GB, free: 3.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3046, allocations: 0 / 0.5093 GB, free: 3.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002883/0.3048, allocations: 132.2 kB / 0.5094 GB, free: 3.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3049, allocations: 9.562 kB / 0.5094 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3049, allocations: 1.312 kB / 0.5094 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3049, allocations: 4.906 kB / 0.5094 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3051, allocations: 30.28 kB / 0.5095 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3051, allocations: 1.984 kB / 0.5095 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.79e-05/0.3052, allocations: 16.69 kB / 0.5095 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3052, allocations: 3.781 kB / 0.5095 GB, free: 3.047 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.3052, allocations: 122.7 kB / 0.5096 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.3053, allocations: 16.84 kB / 0.5096 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.3056, allocations: 118.1 kB / 0.5097 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3056, allocations: 5.156 kB / 0.5097 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3056, allocations: 192 / 0.5097 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3056, allocations: 1.953 kB / 0.5097 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.3058, allocations: 216.4 kB / 0.5099 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3059, allocations: 0 / 0.5099 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.306, allocations: 24.92 kB / 0.51 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.306, allocations: 4 kB / 0.51 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.306, allocations: 5.75 kB / 0.51 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.306, allocations: 3.938 kB / 0.51 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.306, allocations: 5.156 kB / 0.51 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.3065, allocations: 254.3 kB / 0.5102 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.3065, allocations: 92.38 kB / 0.5103 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3065, allocations: 2.031 kB / 0.5103 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3066, allocations: 15.08 kB / 0.5103 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.3067, allocations: 4.469 kB / 0.5103 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3067, allocations: 7.062 kB / 0.5103 GB, free: 2.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.209e-05/0.3068, allocations: 107.3 kB / 0.5104 GB, free: 2.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3068, allocations: 0 / 0.5104 GB, free: 2.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.307, allocations: 17.44 kB / 0.5105 GB, free: 2.238 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005155/0.3075, allocations: 0.7886 MB / 0.5112 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.3078, allocations: 82.14 kB / 0.5113 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3078, allocations: 4.062 kB / 0.5113 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.308, allocations: 46.86 kB / 0.5114 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.3082, allocations: 13.73 kB / 0.5114 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.3099, allocations: 1.732 MB / 0.5131 GB, free: 40 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.3103, allocations: 0.6964 MB / 0.5137 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.367e-05/0.3103, allocations: 14.69 kB / 0.5138 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.3104, allocations: 26.61 kB / 0.5138 GB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3104, allocations: 0 / 0.5138 GB, free: 15.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.335, allocations: 2.383 MB / 0.5161 GB, free: 14.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.197, allocations: 16.75 kB / 0.5161 GB, free: 14.87 MB / 398.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/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)