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.001323/0.001323, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.293/1.293, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001633/0.001633, allocations: 118.8 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1704/0.1704, allocations: 38.01 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 16 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09356, allocations: 53.22 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.439, allocations: 82.65 MB / 0.5271 GB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.4393, allocations: 88.12 kB / 0.5272 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004544/0.4439, allocations: 1.646 MB / 0.5288 GB, free: 10.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4439, allocations: 7.938 kB / 0.5288 GB, free: 10.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.4439, allocations: 0 / 0.5288 GB, free: 10.07 MB / 346.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.0005524/0.4445, allocations: 419.8 kB / 0.5292 GB, free: 9.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.4446, allocations: 12.02 kB / 0.5292 GB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.4446, allocations: 46.38 kB / 0.5293 GB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.4446, allocations: 7.906 kB / 0.5293 GB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.4448, allocations: 182.8 kB / 0.5294 GB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.4449, allocations: 4 kB / 0.5294 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.4449, allocations: 7.688 kB / 0.5294 GB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.4451, allocations: 102.1 kB / 0.5295 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.4452, allocations: 0 / 0.5295 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.4452, allocations: 3.5 kB / 0.5295 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.4452, allocations: 7.953 kB / 0.5296 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.4454, allocations: 80.38 kB / 0.5296 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.4461, allocations: 451.9 kB / 0.5301 GB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.4464, allocations: 104.2 kB / 0.5302 GB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.4465, allocations: 4 kB / 0.5302 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.4465, allocations: 30.56 kB / 0.5302 GB, free: 8.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4465, allocations: 0 / 0.5302 GB, free: 8.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004179/0.4469, allocations: 157.7 kB / 0.5303 GB, free: 8.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.447, allocations: 55.41 kB / 0.5304 GB, free: 8.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.208e-05/0.447, allocations: 143.7 kB / 0.5305 GB, free: 8.254 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.4471, allocations: 25.7 kB / 0.5306 GB, free: 8.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.4471, allocations: 101.5 kB / 0.5307 GB, free: 8.129 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.4471, allocations: 24.66 kB / 0.5307 GB, free: 8.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.4472, allocations: 0 / 0.5307 GB, free: 8.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.4472, allocations: 330.7 kB / 0.531 GB, free: 7.781 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4473, allocations: 38.59 kB / 0.531 GB, free: 7.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.4475, allocations: 65.22 kB / 0.5311 GB, free: 7.688 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.4476, allocations: 42.86 kB / 0.5311 GB, free: 7.656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.4476, allocations: 3.938 kB / 0.5311 GB, free: 7.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002603/0.4479, allocations: 145.9 kB / 0.5313 GB, free: 7.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4479, allocations: 4 kB / 0.5313 GB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4479, allocations: 4 kB / 0.5313 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4479, allocations: 0 / 0.5313 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.4481, allocations: 27.98 kB / 0.5313 GB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4481, allocations: 0 / 0.5313 GB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.4482, allocations: 22.98 kB / 0.5313 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.4482, allocations: 4 kB / 0.5313 GB, free: 7.469 MB / 346.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 7.742e-05/0.4483, allocations: 128.5 kB / 0.5315 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.4483, allocations: 7.906 kB / 0.5315 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.4486, allocations: 139.2 kB / 0.5316 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.4486, allocations: 0 / 0.5316 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4487, allocations: 0 / 0.5316 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4487, allocations: 6.281 kB / 0.5316 GB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.4489, allocations: 202.8 kB / 0.5318 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4489, allocations: 0 / 0.5318 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.449, allocations: 36.78 kB / 0.5318 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.449, allocations: 0 / 0.5318 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4491, allocations: 7.125 kB / 0.5318 GB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4491, allocations: 0 / 0.5318 GB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4491, allocations: 0 / 0.5318 GB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.4494, allocations: 269.9 kB / 0.5321 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.4495, allocations: 92.62 kB / 0.5322 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.4495, allocations: 1.062 kB / 0.5322 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.4496, allocations: 12.17 kB / 0.5322 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.4497, allocations: 7.984 kB / 0.5322 GB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.4497, allocations: 7.75 kB / 0.5322 GB, free: 6.574 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.498e-05/0.4498, allocations: 110.5 kB / 0.5323 GB, free: 6.473 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4498, allocations: 0 / 0.5323 GB, free: 6.473 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.45, allocations: 23.94 kB / 0.5323 GB, free: 6.453 MB / 346.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.0005169/0.4505, allocations: 0.7988 MB / 0.5331 GB, free: 5.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.4508, allocations: 96.95 kB / 0.5332 GB, free: 5.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4508, allocations: 3.938 kB / 0.5332 GB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.4509, allocations: 49.84 kB / 0.5333 GB, free: 5.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.4511, allocations: 6.5 kB / 0.5333 GB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.4524, allocations: 1.315 MB / 0.5346 GB, free: 4.242 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.4525, allocations: 0.7043 MB / 0.5352 GB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.046e-05/0.4526, allocations: 12.66 kB / 0.5353 GB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.4527, allocations: 28.23 kB / 0.5353 GB, free: 3.484 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4527, allocations: 0 / 0.5353 GB, free: 3.484 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.4656, allocations: 2.049 MB / 0.5373 GB, free: 1.473 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.4658, allocations: 160 kB / 0.5374 GB, free: 1.238 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.203, allocations: 3.938 kB / 0.5374 GB, free: 1.234 MB / 346.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)