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.001684/0.001684, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002056/0.002056, allocations: 211.3 kB / 23.73 MB, free: 4.523 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1907/0.1907, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.002304/0.002304, allocations: 71.89 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3779, allocations: 62.46 MB / 0.5419 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003972/0.3819, allocations: 2.533 MB / 0.5444 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006536/0.3825, allocations: 431.3 kB / 0.5448 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.3826, allocations: 1.188 kB / 0.5448 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.58e-05/0.3827, allocations: 12.8 kB / 0.5448 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.3828, allocations: 23.83 kB / 0.5449 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.3829, allocations: 26.36 kB / 0.5449 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3831, allocations: 108.9 kB / 0.545 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3832, allocations: 13.33 kB / 0.545 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.3834, allocations: 49.47 kB / 0.545 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3835, allocations: 49.14 kB / 0.5451 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3835, allocations: 7.656 kB / 0.5451 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.798e-05/0.3835, allocations: 8.125 kB / 0.5451 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.3835, allocations: 18.17 kB / 0.5451 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.3836, allocations: 38.88 kB / 0.5452 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.3837, allocations: 98.56 kB / 0.5452 GB, free: 13.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.3837, allocations: 0 / 0.5452 GB, free: 13.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3837, allocations: 4 kB / 0.5453 GB, free: 13.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3837, allocations: 1.375 kB / 0.5453 GB, free: 13.62 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.0006245/0.3844, allocations: 331.3 kB / 0.5456 GB, free: 13.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3844, allocations: 13.58 kB / 0.5456 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.3844, allocations: 40.11 kB / 0.5456 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.3845, allocations: 14.34 kB / 0.5456 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3847, allocations: 142.5 kB / 0.5458 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3847, allocations: 3.125 kB / 0.5458 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.3847, allocations: 12.06 kB / 0.5458 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.385, allocations: 91.88 kB / 0.5459 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.385, allocations: 0 / 0.5459 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.385, allocations: 1.375 kB / 0.5459 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.385, allocations: 1.375 kB / 0.5459 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.3852, allocations: 78 kB / 0.546 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008119/0.386, allocations: 391.2 kB / 0.5463 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.3864, allocations: 89 kB / 0.5464 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.3865, allocations: 33.91 kB / 0.5464 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3865, allocations: 5.062 kB / 0.5464 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3866, allocations: 35.67 kB / 0.5465 GB, free: 12.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3866, allocations: 0 / 0.5465 GB, free: 12.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004777/0.387, allocations: 136.9 kB / 0.5466 GB, free: 12.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.3871, allocations: 52.44 kB / 0.5467 GB, free: 12.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.3872, allocations: 161.5 kB / 0.5468 GB, free: 12.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3873, allocations: 27.27 kB / 0.5468 GB, free: 12.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.3873, allocations: 99.98 kB / 0.5469 GB, free: 12.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3874, allocations: 30.62 kB / 0.547 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.3874, allocations: 29.3 kB / 0.547 GB, free: 12.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3876, allocations: 317 kB / 0.5473 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3877, allocations: 42.59 kB / 0.5473 GB, free: 11.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3878, allocations: 56.16 kB / 0.5474 GB, free: 11.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.3881, allocations: 100.1 kB / 0.5475 GB, free: 11.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3881, allocations: 1.562 kB / 0.5475 GB, free: 11.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003037/0.3884, allocations: 127.8 kB / 0.5476 GB, free: 11.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3884, allocations: 5.75 kB / 0.5476 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3884, allocations: 1.156 kB / 0.5476 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3884, allocations: 4.969 kB / 0.5476 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.3886, allocations: 33.38 kB / 0.5477 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3886, allocations: 1.438 kB / 0.5477 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.3887, allocations: 21.62 kB / 0.5477 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3887, allocations: 3.5 kB / 0.5477 GB, free: 11.46 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 9.549e-05/0.3888, allocations: 118.1 kB / 0.5478 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.3888, allocations: 9.141 kB / 0.5478 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.3891, allocations: 126.1 kB / 0.5479 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3891, allocations: 5.062 kB / 0.5479 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3891, allocations: 0 / 0.5479 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3891, allocations: 0 / 0.5479 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.3894, allocations: 169.5 kB / 0.5481 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3894, allocations: 4 kB / 0.5481 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.3896, allocations: 27.55 kB / 0.5481 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3896, allocations: 5.344 kB / 0.5481 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3896, allocations: 0 / 0.5481 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.3896, allocations: 5.281 kB / 0.5481 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3896, allocations: 0 / 0.5481 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.39, allocations: 250.8 kB / 0.5484 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.3901, allocations: 15 kB / 0.5484 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3901, allocations: 9.141 kB / 0.5484 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3902, allocations: 12.53 kB / 0.5484 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.3903, allocations: 7.234 kB / 0.5484 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3903, allocations: 5.031 kB / 0.5484 GB, free: 10.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.785e-05/0.3903, allocations: 111.8 kB / 0.5485 GB, free: 10.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3903, allocations: 0 / 0.5485 GB, free: 10.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.3906, allocations: 21.31 kB / 0.5485 GB, free: 10.72 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.0007957/0.3914, allocations: 0.7915 MB / 0.5493 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.3917, allocations: 78.33 kB / 0.5494 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3917, allocations: 0 / 0.5494 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3918, allocations: 42.78 kB / 0.5494 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.3921, allocations: 15.33 kB / 0.5494 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.3943, allocations: 1.742 MB / 0.5511 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.26e-05/0.3943, allocations: 85.06 kB / 0.5512 GB, free: 8.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.3944, allocations: 8.422 kB / 0.5512 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.3945, allocations: 31.39 kB / 0.5513 GB, free: 8.281 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3945, allocations: 0 / 0.5513 GB, free: 8.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.429, allocations: 3.037 MB / 0.5542 GB, free: 6.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.53, allocations: 7.703 kB / 0.5542 GB, free: 6.477 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 & 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.591675110161304] Failed to read output from testmodel.py, exit status != 0: 11.642669315915555 11.666372749 11.278205416 Calling exit ...