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.001613/0.001613, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001489/0.001489, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.49/1.49, allocations: 230.6 MB / 258.3 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.189/0.189, allocations: 38.55 MB / 353.2 MB, free: 12.32 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.002105/0.002105, allocations: 67.89 kB / 493.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4207, allocations: 62.48 MB / 0.5427 GB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.005728/0.4264, allocations: 2.527 MB / 0.5452 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007897/0.4272, allocations: 426.2 kB / 0.5456 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.4273, allocations: 0.9375 kB / 0.5456 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.4274, allocations: 8.969 kB / 0.5456 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.4276, allocations: 31.08 kB / 0.5456 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.4277, allocations: 31.36 kB / 0.5456 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.4279, allocations: 99.2 kB / 0.5457 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.428, allocations: 10.66 kB / 0.5457 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.4282, allocations: 52.7 kB / 0.5458 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.4284, allocations: 50.8 kB / 0.5458 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.4284, allocations: 7.75 kB / 0.5459 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.517e-05/0.4284, allocations: 6.656 kB / 0.5459 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.4284, allocations: 19.42 kB / 0.5459 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.4285, allocations: 35.14 kB / 0.5459 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.4287, allocations: 98.47 kB / 0.546 GB, free: 13.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4287, allocations: 4 kB / 0.546 GB, free: 13.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4287, allocations: 0 / 0.546 GB, free: 13.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4287, allocations: 0 / 0.546 GB, free: 13.54 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.0008448/0.4295, allocations: 335.4 kB / 0.5463 GB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.4296, allocations: 14.39 kB / 0.5463 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.439e-05/0.4296, allocations: 5.438 kB / 0.5463 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.997e-05/0.4297, allocations: 36.47 kB / 0.5464 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.822e-05/0.4298, allocations: 22.3 kB / 0.5464 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.4301, allocations: 139.1 kB / 0.5465 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.4301, allocations: 10.22 kB / 0.5465 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.4301, allocations: 4.469 kB / 0.5466 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.4305, allocations: 92.17 kB / 0.5466 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.4305, allocations: 0 / 0.5466 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.4305, allocations: 1.281 kB / 0.5466 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4305, allocations: 1.281 kB / 0.5466 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.4308, allocations: 74.34 kB / 0.5467 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.4318, allocations: 387.8 kB / 0.5471 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.4321, allocations: 88.66 kB / 0.5472 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.4323, allocations: 33.34 kB / 0.5472 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.4323, allocations: 5.469 kB / 0.5472 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.4323, allocations: 35.92 kB / 0.5472 GB, free: 12.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.4323, allocations: 4 kB / 0.5472 GB, free: 12.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004999/0.4328, allocations: 136.6 kB / 0.5474 GB, free: 12.33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.4329, allocations: 52.78 kB / 0.5474 GB, free: 12.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4331, allocations: 147.6 kB / 0.5476 GB, free: 12.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.4331, allocations: 29.7 kB / 0.5476 GB, free: 12.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.4332, allocations: 105.5 kB / 0.5477 GB, free: 12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.4332, allocations: 26.55 kB / 0.5477 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.4333, allocations: 24.14 kB / 0.5477 GB, free: 11.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4334, allocations: 321 kB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.4335, allocations: 38.53 kB / 0.5481 GB, free: 11.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.4337, allocations: 60.75 kB / 0.5481 GB, free: 11.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.434, allocations: 100.3 kB / 0.5482 GB, free: 11.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.434, allocations: 1.25 kB / 0.5482 GB, free: 11.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003163/0.4343, allocations: 140.5 kB / 0.5484 GB, free: 11.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4343, allocations: 5.875 kB / 0.5484 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4343, allocations: 0 / 0.5484 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.4343, allocations: 6.312 kB / 0.5484 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.4345, allocations: 36.91 kB / 0.5484 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4345, allocations: 5.031 kB / 0.5484 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.4346, allocations: 19.02 kB / 0.5484 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.4346, allocations: 2.469 kB / 0.5484 GB, free: 11.37 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.0001193/0.4347, allocations: 118.4 kB / 0.5486 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.4348, allocations: 16.5 kB / 0.5486 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.4351, allocations: 125.6 kB / 0.5487 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4351, allocations: 1.281 kB / 0.5487 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4352, allocations: 1.031 kB / 0.5487 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4352, allocations: 0 / 0.5487 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.4354, allocations: 173.2 kB / 0.5489 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4354, allocations: 0 / 0.5489 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.4356, allocations: 23.14 kB / 0.5489 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4356, allocations: 1.375 kB / 0.5489 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.4356, allocations: 7.938 kB / 0.5489 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4356, allocations: 1.625 kB / 0.5489 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4356, allocations: 0 / 0.5489 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.4361, allocations: 250.8 kB / 0.5491 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.4362, allocations: 15.41 kB / 0.5491 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.4362, allocations: 9.141 kB / 0.5492 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.4363, allocations: 11.38 kB / 0.5492 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.4364, allocations: 6.359 kB / 0.5492 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.4364, allocations: 2.219 kB / 0.5492 GB, free: 10.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.594e-05/0.4364, allocations: 106.5 kB / 0.5493 GB, free: 10.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4364, allocations: 1.156 kB / 0.5493 GB, free: 10.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.4367, allocations: 21.25 kB / 0.5493 GB, free: 10.63 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.0008212/0.4375, allocations: 0.7835 MB / 0.5501 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.4378, allocations: 89.12 kB / 0.5501 GB, free: 9.863 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4378, allocations: 1.031 kB / 0.5501 GB, free: 9.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.438, allocations: 42.69 kB / 0.5502 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.4383, allocations: 8.781 kB / 0.5502 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.4407, allocations: 1.745 MB / 0.5519 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.932e-05/0.4408, allocations: 89.12 kB / 0.552 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.743e-05/0.4409, allocations: 8.234 kB / 0.552 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.414e-05/0.441, allocations: 31.73 kB / 0.552 GB, free: 8.188 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.441, allocations: 0 / 0.552 GB, free: 8.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.4654, allocations: 2.641 MB / 0.5546 GB, free: 6.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.89, allocations: 3 kB / 0.5546 GB, free: 6.801 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.790540375979617] Failed to read output from testmodel.py, exit status != 0: 12.056164890062064 12.0736106 11.641341869 Calling exit ...