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.001719/0.001719, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002132/0.002132, allocations: 213.9 kB / 23.74 MB, free: 4.656 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1866/0.1866, allocations: 38.53 MB / 352.5 MB, free: 12.54 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="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"}) [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.001945/0.001945, allocations: 71.89 kB / 492.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3522, allocations: 62.46 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004627/0.3568, allocations: 2.582 MB / 0.5445 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008106/0.3576, allocations: 462.7 kB / 0.545 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.3577, allocations: 1.688 kB / 0.545 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.3579, allocations: 13.45 kB / 0.545 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.358, allocations: 26.91 kB / 0.545 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.3581, allocations: 23.81 kB / 0.545 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.3583, allocations: 107.4 kB / 0.5451 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3585, allocations: 17.47 kB / 0.5451 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.3586, allocations: 44.42 kB / 0.5452 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3588, allocations: 46.95 kB / 0.5452 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.3588, allocations: 6.875 kB / 0.5452 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.216e-05/0.3588, allocations: 8.25 kB / 0.5452 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.3588, allocations: 22.66 kB / 0.5453 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.563e-05/0.3589, allocations: 50.72 kB / 0.5453 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.3591, allocations: 88.83 kB / 0.5454 GB, free: 13.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3591, allocations: 1.375 kB / 0.5454 GB, free: 13.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3591, allocations: 4 kB / 0.5454 GB, free: 13.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.3591, allocations: 0 / 0.5454 GB, free: 13.74 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.0007442/0.3598, allocations: 337.9 kB / 0.5457 GB, free: 13.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3599, allocations: 13.86 kB / 0.5457 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.3599, allocations: 36.16 kB / 0.5458 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.36, allocations: 17.59 kB / 0.5458 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.3603, allocations: 142.6 kB / 0.5459 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3603, allocations: 8.422 kB / 0.5459 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.3603, allocations: 11.5 kB / 0.5459 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.3606, allocations: 89.86 kB / 0.546 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3606, allocations: 0 / 0.546 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3606, allocations: 1.312 kB / 0.546 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3606, allocations: 0.875 kB / 0.546 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.3609, allocations: 75.11 kB / 0.5461 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008713/0.3617, allocations: 412.2 kB / 0.5465 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.3621, allocations: 86.86 kB / 0.5466 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3622, allocations: 42.33 kB / 0.5466 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3622, allocations: 1.438 kB / 0.5466 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3622, allocations: 30.56 kB / 0.5466 GB, free: 12.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3623, allocations: 1.719 kB / 0.5466 GB, free: 12.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.00047/0.3627, allocations: 140 kB / 0.5468 GB, free: 12.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.3628, allocations: 60.84 kB / 0.5468 GB, free: 12.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.3629, allocations: 143.1 kB / 0.547 GB, free: 12.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.3629, allocations: 25.7 kB / 0.547 GB, free: 12.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.363, allocations: 108.6 kB / 0.5471 GB, free: 12.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.3631, allocations: 27.27 kB / 0.5471 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.3631, allocations: 35.23 kB / 0.5472 GB, free: 12.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3633, allocations: 321.2 kB / 0.5475 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3634, allocations: 34.36 kB / 0.5475 GB, free: 11.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3635, allocations: 56.59 kB / 0.5476 GB, free: 11.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.3638, allocations: 103.4 kB / 0.5477 GB, free: 11.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3638, allocations: 0 / 0.5477 GB, free: 11.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003307/0.3641, allocations: 128.8 kB / 0.5478 GB, free: 11.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3641, allocations: 5.562 kB / 0.5478 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3641, allocations: 1.125 kB / 0.5478 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3642, allocations: 6.125 kB / 0.5478 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.3643, allocations: 27.98 kB / 0.5478 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3643, allocations: 6.312 kB / 0.5478 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3645, allocations: 18.02 kB / 0.5478 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3645, allocations: 2.531 kB / 0.5478 GB, free: 11.55 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.0001194/0.3646, allocations: 114.3 kB / 0.548 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.3646, allocations: 16.53 kB / 0.548 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.365, allocations: 130.4 kB / 0.5481 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.365, allocations: 7.938 kB / 0.5481 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.365, allocations: 1.25 kB / 0.5481 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.365, allocations: 3.984 kB / 0.5481 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.3653, allocations: 168.8 kB / 0.5483 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3653, allocations: 1.344 kB / 0.5483 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.3655, allocations: 34 kB / 0.5483 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3655, allocations: 1.219 kB / 0.5483 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3655, allocations: 1.219 kB / 0.5483 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.3655, allocations: 3.938 kB / 0.5483 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3655, allocations: 1.281 kB / 0.5483 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.366, allocations: 256.9 kB / 0.5486 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.366, allocations: 7.328 kB / 0.5486 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3661, allocations: 1.188 kB / 0.5486 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3662, allocations: 16.36 kB / 0.5486 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.3662, allocations: 6.078 kB / 0.5486 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3663, allocations: 6.281 kB / 0.5486 GB, free: 10.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.67e-05/0.3663, allocations: 110 kB / 0.5487 GB, free: 10.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3663, allocations: 192 / 0.5487 GB, free: 10.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3666, allocations: 25.53 kB / 0.5487 GB, free: 10.8 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.0008912/0.3675, allocations: 0.7897 MB / 0.5495 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.3678, allocations: 82.25 kB / 0.5496 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3678, allocations: 1.562 kB / 0.5496 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.368, allocations: 37.88 kB / 0.5496 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3683, allocations: 16.44 kB / 0.5496 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.3709, allocations: 1.742 MB / 0.5513 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.3713, allocations: 0.6975 MB / 0.552 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.735e-05/0.3714, allocations: 7.922 kB / 0.552 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.3714, allocations: 31.8 kB / 0.552 GB, free: 7.723 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3714, allocations: 0.9688 kB / 0.552 GB, free: 7.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.4032, allocations: 2.556 MB / 0.5545 GB, free: 6.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.37, allocations: 11.34 kB / 0.5545 GB, free: 6.391 MB / 398.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.445033829993918] Failed to read output from testmodel.py, exit status != 0: 11.472657892001735 11.497772403 11.134009911 Calling exit ...