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.001294/0.001294, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001454/0.001454, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1918/0.1918, allocations: 38.56 MB / 352.5 MB, free: 12.3 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.002068/0.002068, allocations: 59.91 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.353, allocations: 62.47 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004751/0.3578, allocations: 2.533 MB / 0.5444 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007967/0.3586, allocations: 429.8 kB / 0.5448 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.393e-05/0.3587, allocations: 1.125 kB / 0.5448 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.3588, allocations: 12.83 kB / 0.5448 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.3589, allocations: 23.41 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.3591, allocations: 23.75 kB / 0.5449 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.3593, allocations: 100.1 kB / 0.545 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3594, allocations: 17.42 kB / 0.545 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.3596, allocations: 53.12 kB / 0.545 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.891e-05/0.3597, allocations: 37.86 kB / 0.5451 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.3597, allocations: 7.562 kB / 0.5451 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.195e-05/0.3598, allocations: 8.031 kB / 0.5451 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.3598, allocations: 26.09 kB / 0.5451 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.3598, allocations: 35.98 kB / 0.5451 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.36, allocations: 97.66 kB / 0.5452 GB, free: 13.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.36, allocations: 0 / 0.5452 GB, free: 13.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.36, allocations: 1.5 kB / 0.5452 GB, free: 13.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.36, allocations: 4 kB / 0.5452 GB, free: 13.66 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.0007634/0.3608, allocations: 335.3 kB / 0.5456 GB, free: 13.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3609, allocations: 17.58 kB / 0.5456 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.3609, allocations: 39.95 kB / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.3609, allocations: 17.78 kB / 0.5456 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3612, allocations: 131.9 kB / 0.5458 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3612, allocations: 11.3 kB / 0.5458 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.3613, allocations: 12.25 kB / 0.5458 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.3615, allocations: 87.92 kB / 0.5459 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.3616, allocations: 0 / 0.5459 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3616, allocations: 4 kB / 0.5459 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3616, allocations: 9.719 kB / 0.5459 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.3618, allocations: 69.19 kB / 0.5459 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009868/0.3628, allocations: 392.3 kB / 0.5463 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.3632, allocations: 87.81 kB / 0.5464 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3633, allocations: 38.95 kB / 0.5464 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3633, allocations: 0 / 0.5464 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3633, allocations: 36.81 kB / 0.5465 GB, free: 12.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3633, allocations: 0 / 0.5465 GB, free: 12.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004876/0.3638, allocations: 148.6 kB / 0.5466 GB, free: 12.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.3639, allocations: 52.66 kB / 0.5467 GB, free: 12.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.364, allocations: 150.6 kB / 0.5468 GB, free: 12.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3641, allocations: 25.7 kB / 0.5468 GB, free: 12.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.3642, allocations: 104.2 kB / 0.5469 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.3642, allocations: 24.02 kB / 0.547 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.3642, allocations: 27.2 kB / 0.547 GB, free: 12.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3644, allocations: 321.6 kB / 0.5473 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.3645, allocations: 29.86 kB / 0.5473 GB, free: 11.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3647, allocations: 65.41 kB / 0.5474 GB, free: 11.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.3649, allocations: 95.92 kB / 0.5475 GB, free: 11.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.3649, allocations: 1.156 kB / 0.5475 GB, free: 11.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003251/0.3653, allocations: 136.8 kB / 0.5476 GB, free: 11.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3653, allocations: 8.344 kB / 0.5476 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3653, allocations: 1.219 kB / 0.5476 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.3653, allocations: 6.156 kB / 0.5476 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3655, allocations: 24.64 kB / 0.5476 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3655, allocations: 1.031 kB / 0.5476 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.3656, allocations: 22.41 kB / 0.5477 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3656, allocations: 3.531 kB / 0.5477 GB, free: 11.5 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.0001249/0.3657, allocations: 118.6 kB / 0.5478 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.3658, allocations: 12.27 kB / 0.5478 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.3662, allocations: 126.3 kB / 0.5479 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.3662, allocations: 5.094 kB / 0.5479 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3662, allocations: 0 / 0.5479 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3662, allocations: 1.156 kB / 0.5479 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.3665, allocations: 164.4 kB / 0.5481 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3665, allocations: 1 kB / 0.5481 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.3667, allocations: 26.39 kB / 0.5481 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3667, allocations: 1.125 kB / 0.5481 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3667, allocations: 9.156 kB / 0.5481 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.3667, allocations: 3.938 kB / 0.5481 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3667, allocations: 1.266 kB / 0.5481 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.3672, allocations: 258.5 kB / 0.5484 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.3673, allocations: 22.67 kB / 0.5484 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3673, allocations: 1.406 kB / 0.5484 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.3674, allocations: 12.69 kB / 0.5484 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.3675, allocations: 6.578 kB / 0.5484 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.3675, allocations: 5.344 kB / 0.5484 GB, free: 10.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.425e-05/0.3676, allocations: 111 kB / 0.5485 GB, free: 10.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3676, allocations: 0 / 0.5485 GB, free: 10.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000241/0.3678, allocations: 17.09 kB / 0.5485 GB, free: 10.75 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.0007956/0.3686, allocations: 0.7841 MB / 0.5493 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.3689, allocations: 85.41 kB / 0.5494 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3689, allocations: 1.25 kB / 0.5494 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.369, allocations: 33.83 kB / 0.5494 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3693, allocations: 24.11 kB / 0.5494 GB, free: 9.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.372, allocations: 1.735 MB / 0.5511 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.3721, allocations: 83.56 kB / 0.5512 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.3721, allocations: 8.359 kB / 0.5512 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.3722, allocations: 28.64 kB / 0.5513 GB, free: 8.32 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3722, allocations: 0 / 0.5513 GB, free: 8.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.4077, allocations: 3.003 MB / 0.5542 GB, free: 6.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.6, allocations: 3.594 kB / 0.5542 GB, free: 6.535 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.341238179244101] Failed to read output from testmodel.py, exit status != 0: 11.707628646865487 11.733310112 11.369147761 Calling exit ...