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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.00139/0.001391, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.802/1.802, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001733/0.001733, allocations: 120.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1852/0.1852, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.489e-05/4.502e-05, allocations: 0 / 397.6 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2751, allocations: 53.22 MB / 450.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.3958, allocations: 82.55 MB / 0.5209 GB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.3962, allocations: 87.81 kB / 0.521 GB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00515/0.4013, allocations: 1.64 MB / 0.5226 GB, free: 9.062 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4014, allocations: 0 / 0.5226 GB, free: 9.062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.4014, allocations: 4 kB / 0.5226 GB, free: 9.059 MB / 378.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.0005709/0.402, allocations: 402.5 kB / 0.523 GB, free: 8.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.402, allocations: 12.03 kB / 0.523 GB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.4021, allocations: 38.52 kB / 0.523 GB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.4021, allocations: 11.81 kB / 0.523 GB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.4023, allocations: 191 kB / 0.5232 GB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.4024, allocations: 4 kB / 0.5232 GB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.4024, allocations: 8 kB / 0.5232 GB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.4026, allocations: 77.61 kB / 0.5233 GB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4026, allocations: 4 kB / 0.5233 GB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.4026, allocations: 4 kB / 0.5233 GB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.4027, allocations: 7.953 kB / 0.5233 GB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.4028, allocations: 40 kB / 0.5234 GB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008191/0.4036, allocations: 465.1 kB / 0.5238 GB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.4039, allocations: 78.69 kB / 0.5239 GB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.4039, allocations: 28.86 kB / 0.5239 GB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.404, allocations: 0 / 0.5239 GB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.404, allocations: 30.56 kB / 0.5239 GB, free: 7.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.404, allocations: 0 / 0.5239 GB, free: 7.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002276/0.4042, allocations: 85.53 kB / 0.524 GB, free: 7.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.4043, allocations: 55.41 kB / 0.5241 GB, free: 7.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4044, allocations: 129.4 kB / 0.5242 GB, free: 7.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4044, allocations: 25.7 kB / 0.5242 GB, free: 7.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.4045, allocations: 108 kB / 0.5243 GB, free: 7.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.4045, allocations: 23.7 kB / 0.5243 GB, free: 7.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.4045, allocations: 7.938 kB / 0.5243 GB, free: 7.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4047, allocations: 326.8 kB / 0.5247 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/0.4047, allocations: 20 kB / 0.5247 GB, free: 6.691 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.4048, allocations: 47.44 kB / 0.5247 GB, free: 6.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.022e-05/0.4049, allocations: 32 kB / 0.5248 GB, free: 6.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4049, allocations: 0 / 0.5248 GB, free: 6.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.4051, allocations: 109.7 kB / 0.5249 GB, free: 6.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4051, allocations: 4 kB / 0.5249 GB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4051, allocations: 4.094 kB / 0.5249 GB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4051, allocations: 7.938 kB / 0.5249 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.4053, allocations: 31.97 kB / 0.5249 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4053, allocations: 3.938 kB / 0.5249 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.4054, allocations: 15.84 kB / 0.5249 GB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.4054, allocations: 4 kB / 0.5249 GB, free: 6.418 MB / 378.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 () * 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.827e-05/0.4055, allocations: 116.7 kB / 0.525 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.4056, allocations: 15.89 kB / 0.5251 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.4058, allocations: 94.3 kB / 0.5251 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4058, allocations: 0 / 0.5251 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4058, allocations: 0 / 0.5251 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4058, allocations: 3.938 kB / 0.5251 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.4061, allocations: 213.5 kB / 0.5254 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4061, allocations: 0 / 0.5254 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.4063, allocations: 31.97 kB / 0.5254 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4063, allocations: 4 kB / 0.5254 GB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.4063, allocations: 0 / 0.5254 GB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4063, allocations: 0 / 0.5254 GB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4063, allocations: 0 / 0.5254 GB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.4066, allocations: 215.4 kB / 0.5256 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.4067, allocations: 92.94 kB / 0.5257 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.4067, allocations: 0 / 0.5257 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.4068, allocations: 23.98 kB / 0.5257 GB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.4069, allocations: 7.984 kB / 0.5257 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.4069, allocations: 4 kB / 0.5257 GB, free: 5.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.93e-05/0.407, allocations: 111.4 kB / 0.5258 GB, free: 5.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.407, allocations: 192 / 0.5258 GB, free: 5.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.4072, allocations: 16 kB / 0.5258 GB, free: 5.395 MB / 378.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 () * 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.0005825/0.4078, allocations: 0.763 MB / 0.5266 GB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.408, allocations: 59.94 kB / 0.5266 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.408, allocations: 0 / 0.5266 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.408, allocations: 31.94 kB / 0.5267 GB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.4083, allocations: 8 kB / 0.5267 GB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.4089, allocations: 259 kB / 0.5269 GB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.4092, allocations: 0.7004 MB / 0.5276 GB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.211e-05/0.4093, allocations: 8.656 kB / 0.5276 GB, free: 3.477 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.4093, allocations: 23.44 kB / 0.5276 GB, free: 3.453 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4093, allocations: 4 kB / 0.5276 GB, free: 3.449 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.4223, allocations: 2.043 MB / 0.5296 GB, free: 1.434 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.4225, allocations: 140.8 kB / 0.5298 GB, free: 1.211 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.125, allocations: 0 / 0.5298 GB, free: 1.211 MB / 378.7 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)