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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.196/0.196, allocations: 38.53 MB / 353.2 MB, free: 12.56 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003236/0.003236, allocations: 59.91 kB / 493.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3932, allocations: 62.47 MB / 0.5428 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004417/0.3976, allocations: 2.57 MB / 0.5453 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.3985, allocations: 467.6 kB / 0.5457 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.3986, allocations: 1.156 kB / 0.5457 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.3987, allocations: 12.89 kB / 0.5457 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.3988, allocations: 27.25 kB / 0.5458 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.3989, allocations: 26 kB / 0.5458 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3991, allocations: 100.2 kB / 0.5459 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3992, allocations: 11.16 kB / 0.5459 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.3994, allocations: 57.2 kB / 0.5459 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3995, allocations: 45.08 kB / 0.546 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3995, allocations: 11.81 kB / 0.546 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/0.3995, allocations: 11.44 kB / 0.546 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.3996, allocations: 17.86 kB / 0.546 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.3996, allocations: 47.69 kB / 0.5461 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.3998, allocations: 89.52 kB / 0.5462 GB, free: 13.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3998, allocations: 0 / 0.5462 GB, free: 13.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3998, allocations: 0 / 0.5462 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3998, allocations: 1.281 kB / 0.5462 GB, free: 13.77 MB / 398.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.0006746/0.4005, allocations: 345.1 kB / 0.5465 GB, free: 13.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4005, allocations: 12.98 kB / 0.5465 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.839e-05/0.4005, allocations: 3.031 kB / 0.5465 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.4006, allocations: 40.64 kB / 0.5465 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.4006, allocations: 13.31 kB / 0.5466 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.4009, allocations: 143.4 kB / 0.5467 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.4009, allocations: 6.688 kB / 0.5467 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.4009, allocations: 12.28 kB / 0.5467 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.4012, allocations: 89.97 kB / 0.5468 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4012, allocations: 0 / 0.5468 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4012, allocations: 5.156 kB / 0.5468 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4012, allocations: 1.125 kB / 0.5468 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.4015, allocations: 70.28 kB / 0.5469 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008448/0.4023, allocations: 412.8 kB / 0.5473 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.4027, allocations: 83.78 kB / 0.5473 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.4028, allocations: 45.33 kB / 0.5474 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.4028, allocations: 1.375 kB / 0.5474 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4028, allocations: 35.88 kB / 0.5474 GB, free: 12.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.4028, allocations: 0 / 0.5474 GB, free: 12.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004887/0.4033, allocations: 141.1 kB / 0.5476 GB, free: 12.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.4034, allocations: 51.41 kB / 0.5476 GB, free: 12.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.4035, allocations: 147.2 kB / 0.5477 GB, free: 12.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.4035, allocations: 26.83 kB / 0.5478 GB, free: 12.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.4036, allocations: 107.8 kB / 0.5479 GB, free: 12.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.4037, allocations: 27.64 kB / 0.5479 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.4037, allocations: 27.5 kB / 0.5479 GB, free: 12.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4039, allocations: 317.2 kB / 0.5482 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.404, allocations: 34.03 kB / 0.5483 GB, free: 11.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.4042, allocations: 68.75 kB / 0.5483 GB, free: 11.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.4044, allocations: 99.77 kB / 0.5484 GB, free: 11.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4044, allocations: 4 kB / 0.5484 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003338/0.4048, allocations: 124.8 kB / 0.5485 GB, free: 11.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4048, allocations: 9.172 kB / 0.5485 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4048, allocations: 1 kB / 0.5486 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4048, allocations: 5.875 kB / 0.5486 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.405, allocations: 29.36 kB / 0.5486 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.405, allocations: 5.531 kB / 0.5486 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.4051, allocations: 17.33 kB / 0.5486 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4052, allocations: 3.938 kB / 0.5486 GB, free: 11.57 MB / 398.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 0.0001087/0.4053, allocations: 113.2 kB / 0.5487 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.4053, allocations: 13.19 kB / 0.5487 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.4057, allocations: 129 kB / 0.5489 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4057, allocations: 1.156 kB / 0.5489 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4057, allocations: 5.031 kB / 0.5489 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4057, allocations: 3.938 kB / 0.5489 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.406, allocations: 182 kB / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.406, allocations: 0 / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.4061, allocations: 22.92 kB / 0.5491 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4061, allocations: 0 / 0.5491 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.4062, allocations: 9.391 kB / 0.5491 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4062, allocations: 0 / 0.5491 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4062, allocations: 1.375 kB / 0.5491 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.4067, allocations: 253.4 kB / 0.5493 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.4067, allocations: 15.08 kB / 0.5493 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.4068, allocations: 5.094 kB / 0.5493 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4069, allocations: 15.92 kB / 0.5493 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.4069, allocations: 3.219 kB / 0.5493 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.4069, allocations: 9.531 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.407, allocations: 114.9 kB / 0.5495 GB, free: 10.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.407, allocations: 0 / 0.5495 GB, free: 10.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.4073, allocations: 16.19 kB / 0.5495 GB, free: 10.82 MB / 398.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.0008397/0.4081, allocations: 0.7831 MB / 0.5502 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.4085, allocations: 94.44 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4085, allocations: 0 / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.4086, allocations: 43.06 kB / 0.5504 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.4089, allocations: 12.28 kB / 0.5504 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.4114, allocations: 1.738 MB / 0.5521 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.4117, allocations: 0.6983 MB / 0.5528 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.278e-05/0.4118, allocations: 12.16 kB / 0.5528 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.4119, allocations: 31.31 kB / 0.5528 GB, free: 7.742 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4119, allocations: 0 / 0.5528 GB, free: 7.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.4376, allocations: 2.59 MB / 0.5553 GB, free: 6.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.71, allocations: 7.016 kB / 0.5553 GB, free: 6.395 MB / 398.1 MB " [Timeout remaining time 648] (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 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.619762520946097] Failed to read output from testmodel.py, exit status != 0: 11.877467549988069 11.895493153 11.491821303 Calling exit ...