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.0008167/0.0008167, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009308/0.0009308, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8979/0.8979, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2424/0.2424, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025e-05/1.144e-05, allocations: 4.391 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002797/0.002808, allocations: 2.54 MB / 432.7 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004536/0.003262, allocations: 442.7 kB / 433.2 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.003329, allocations: 4 kB / 433.2 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.32e-05/0.003423, allocations: 7.875 kB / 433.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.003533, allocations: 23.78 kB / 433.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.003638, allocations: 35.88 kB / 433.2 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.00376, allocations: 99.53 kB / 433.3 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.003872, allocations: 19.97 kB / 433.4 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.004047, allocations: 67.81 kB / 433.4 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.004116, allocations: 39.88 kB / 433.5 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.004134, allocations: 8 kB / 433.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.004146, allocations: 8 kB / 433.5 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.004165, allocations: 15.92 kB / 433.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.004197, allocations: 27.92 kB / 433.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.004319, allocations: 99.66 kB / 433.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004321, allocations: 3.938 kB / 433.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004322, allocations: 0 / 433.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004326, allocations: 0 / 433.6 MB, free: 10.17 MB / 410.7 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.0004278/0.004754, allocations: 341.9 kB / 434 MB, free: 9.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.004793, allocations: 11.98 kB / 434 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.004827, allocations: 42.73 kB / 434 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.00485, allocations: 8.891 kB / 434 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.004993, allocations: 140.9 kB / 434.2 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.005003, allocations: 4.375 kB / 434.2 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.005031, allocations: 12.38 kB / 434.2 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.005191, allocations: 93.89 kB / 434.3 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.005201, allocations: 4 kB / 434.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.005211, allocations: 4 kB / 434.3 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.005216, allocations: 3.938 kB / 434.3 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.005344, allocations: 71.94 kB / 434.3 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.005864, allocations: 386.9 kB / 434.7 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.006067, allocations: 86.66 kB / 434.8 MB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.446e-05/0.006131, allocations: 40.83 kB / 434.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.006145, allocations: 0 / 434.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.006165, allocations: 38.5 kB / 434.9 MB, free: 8.766 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.006166, allocations: 0 / 434.9 MB, free: 8.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002769/0.006443, allocations: 145.5 kB / 435 MB, free: 8.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.006476, allocations: 55.41 kB / 435.1 MB, free: 8.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.517e-05/0.006561, allocations: 140.7 kB / 435.2 MB, free: 8.406 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.006573, allocations: 25.7 kB / 435.2 MB, free: 8.375 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.006625, allocations: 104.1 kB / 435.3 MB, free: 8.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.006644, allocations: 24.05 kB / 435.4 MB, free: 8.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.006679, allocations: 29.7 kB / 435.4 MB, free: 8.211 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.382e-05/0.006763, allocations: 318.8 kB / 435.7 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/0.006823, allocations: 35.92 kB / 435.7 MB, free: 7.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.006898, allocations: 67.39 kB / 435.8 MB, free: 7.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.007037, allocations: 99.33 kB / 435.9 MB, free: 7.668 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.00704, allocations: 4 kB / 435.9 MB, free: 7.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001694/0.007209, allocations: 129.6 kB / 436 MB, free: 7.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.007225, allocations: 10.97 kB / 436 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.00723, allocations: 400 / 436 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.007242, allocations: 192 / 436 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.007318, allocations: 27.98 kB / 436.1 MB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.007323, allocations: 7.875 kB / 436.1 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.007374, allocations: 27.81 kB / 436.1 MB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.007382, allocations: 0 / 436.1 MB, free: 7.461 MB / 410.7 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 6.962e-05/0.007452, allocations: 117.8 kB / 436.2 MB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.007468, allocations: 11.98 kB / 436.2 MB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.007665, allocations: 126.4 kB / 436.4 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.007668, allocations: 0 / 436.4 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.007673, allocations: 0 / 436.4 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.007678, allocations: 7.875 kB / 436.4 MB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.007842, allocations: 168.7 kB / 436.5 MB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007843, allocations: 0 / 436.5 MB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.007925, allocations: 27.92 kB / 436.6 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.007928, allocations: 4 kB / 436.6 MB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.007938, allocations: 0 / 436.6 MB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007939, allocations: 4 kB / 436.6 MB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.00794, allocations: 0 / 436.6 MB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.008228, allocations: 255.4 kB / 436.8 MB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.008241, allocations: 7.938 kB / 436.8 MB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.008257, allocations: 8 kB / 436.8 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.008307, allocations: 7.938 kB / 436.8 MB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.008346, allocations: 8.047 kB / 436.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.008352, allocations: 7.938 kB / 436.9 MB, free: 6.637 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.792e-05/0.0084, allocations: 107.2 kB / 437 MB, free: 6.531 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0084, allocations: 0 / 437 MB, free: 6.531 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.008554, allocations: 23.94 kB / 437 MB, free: 6.508 MB / 410.7 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.0004356/0.008989, allocations: 0.7749 MB / 437.8 MB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.009154, allocations: 91.94 kB / 437.8 MB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009155, allocations: 0 / 437.8 MB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.009216, allocations: 39.92 kB / 437.9 MB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.009407, allocations: 15.92 kB / 437.9 MB, free: 5.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.01105, allocations: 1.697 MB / 439.6 MB, free: 3.762 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.72e-05/0.01111, allocations: 85.39 kB / 439.7 MB, free: 3.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.01114, allocations: 16.66 kB / 439.7 MB, free: 3.645 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.01121, allocations: 24.5 kB / 439.7 MB, free: 3.617 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01121, allocations: 0 / 439.7 MB, free: 3.617 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.02686, allocations: 3.119 MB / 442.8 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/6.6, allocations: 7.938 kB / 442.8 MB, free: 0.6094 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.720075262710452] Failed to read output from testmodel.py, exit status != 0: 6.837118207477033 6.844164787 6.838336018 Calling exit ...