Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.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.00123/0.00123, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.001319/0.001319, allocations: 166.3 kB / 23.94 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 1.058/1.058, allocations: 177.2 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.3551/0.3551, allocations: 29.43 MB / 290.1 MB, free: 2.414 MB / 266.7 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 431.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.795e-05, allocations: 4.25 kB / 431.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.006679/0.006707, allocations: 5.309 MB / 437.1 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004232/0.01094, allocations: 2.489 MB / 439.6 MB, free: 4.199 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008373/0.01178, allocations: 27.81 kB / 439.6 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.01296, allocations: 373.9 kB / 440 MB, free: 3.805 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.0143, allocations: 473.3 kB / 440.5 MB, free: 3.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.01555, allocations: 493.6 kB / 440.9 MB, free: 2.859 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.01698, allocations: 1.033 MB / 442 MB, free: 1.824 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.01805, allocations: 0.4886 MB / 442.5 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.01906, allocations: 0.5688 MB / 443 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005454/0.01961, allocations: 362.9 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.489e-05/0.0197, allocations: 76 kB / 443.5 MB, free: 336 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2253/0.245, allocations: 441.7 kB / 443.9 MB, free: 46.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004887/0.2455, allocations: 240 kB / 444.1 MB, free: 46.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.2459, allocations: 245 kB / 444.4 MB, free: 46.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.2477, allocations: 1.119 MB / 445.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.2477, allocations: 5.5 kB / 445.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2477, allocations: 1.5 kB / 445.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.164e-05/0.2477, allocations: 0 / 445.5 MB, free: 46.23 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001961/0.2497, allocations: 1.05 MB / 446.5 MB, free: 45.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.2497, allocations: 16.98 kB / 446.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.874e-05/0.2498, allocations: 106.5 kB / 446.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/0.2507, allocations: 186.8 kB / 446.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008088/0.2515, allocations: 0.4918 MB / 447.3 MB, free: 45.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.2516, allocations: 45.52 kB / 447.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.2517, allocations: 62.8 kB / 447.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2528, allocations: 0.8394 MB / 448.3 MB, free: 45.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.2528, allocations: 5.5 kB / 448.3 MB, free: 45.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.2528, allocations: 34.14 kB / 448.3 MB, free: 45.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.2529, allocations: 33.7 kB / 448.4 MB, free: 45.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009633/0.2538, allocations: 0.7257 MB / 449.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.2566, allocations: 2.551 MB / 451.6 MB, free: 44.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008945/0.2574, allocations: 0.5434 MB / 452.2 MB, free: 44.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.2579, allocations: 326.3 kB / 452.5 MB, free: 44.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.2579, allocations: 10.61 kB / 452.5 MB, free: 44.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005455/0.2585, allocations: 420 kB / 452.9 MB, free: 43.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 2.866e-06/0.2585, allocations: 0 / 452.9 MB, free: 43.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.003005/0.2615, allocations: 1.979 MB / 454.9 MB, free: 42.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.2616, allocations: 141.7 kB / 455 MB, free: 42.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.262, allocations: 486.1 kB / 455.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.2621, allocations: 41.02 kB / 455.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.2623, allocations: 316.3 kB / 455.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.2624, allocations: 208.3 kB / 456.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.2625, allocations: 109.8 kB / 456.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.2626, allocations: 365.3 kB / 456.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.2629, allocations: 321.8 kB / 456.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.2633, allocations: 485.9 kB / 457.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000825/0.2642, allocations: 0.7284 MB / 458 MB, free: 40.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2642, allocations: 0 / 458 MB, free: 40.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001388/0.2656, allocations: 1.048 MB / 459.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.2656, allocations: 37.92 kB / 459.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.2656, allocations: 3.312 kB / 459.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004591/0.2661, allocations: 177.7 kB / 459.3 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.2664, allocations: 117.8 kB / 459.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.2692, allocations: 3.895 MB / 463.3 MB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.2697, allocations: 56.58 kB / 463.4 MB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.2697, allocations: 27.09 kB / 463.4 MB, free: 37.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005834/0.2703, allocations: 473 kB / 463.9 MB, free: 36.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003931/0.2707, allocations: 479.5 kB / 464.3 MB, free: 36.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007196/0.2714, allocations: 0.7016 MB / 465 MB, free: 36.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.2714, allocations: 0 / 465 MB, free: 36.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0012/0.2726, allocations: 0.9502 MB / 466 MB, free: 35.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.2726, allocations: 39.14 kB / 466 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2726, allocations: 3.5 kB / 466 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.273, allocations: 170.6 kB / 466.2 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.2732, allocations: 122.1 kB / 466.3 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.2756, allocations: 3.711 MB / 470 MB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.276, allocations: 58.48 kB / 470.1 MB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.276, allocations: 19.75 kB / 470.1 MB, free: 32.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,secondary.count,$PRE.secondary.count,secondary.T_start,$PRE.secondary.T_start,$whenCondition1,hydroPlant.reservoirLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002187/0.2763, allocations: 219.4 kB / 470.3 MB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.2763, allocations: 57.91 kB / 470.4 MB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.2775, allocations: 0.8235 MB / 471.2 MB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.2775, allocations: 8.781 kB / 471.2 MB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2775, allocations: 0 / 471.2 MB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.2775, allocations: 3.516 kB / 471.2 MB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.2796, allocations: 1.559 MB / 472.8 MB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.2796, allocations: 4.344 kB / 472.8 MB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.28, allocations: 133.6 kB / 472.9 MB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.2802, allocations: 67.94 kB / 473 MB, free: 31.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.2802, allocations: 14.31 kB / 473 MB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.2814, allocations: 2.68 MB / 475.7 MB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2814, allocations: 2.844 kB / 475.7 MB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.283, allocations: 1.306 MB / 477 MB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.2832, allocations: 113.1 kB / 477.1 MB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.2833, allocations: 18.06 kB / 477.1 MB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.2836, allocations: 53.59 kB / 477.1 MB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.2837, allocations: 54.86 kB / 477.2 MB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.2837, allocations: 22.12 kB / 477.2 MB, free: 27.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000431/0.2842, allocations: 349.9 kB / 477.6 MB, free: 27.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2842, allocations: 0 / 477.6 MB, free: 27.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001017/0.2852, allocations: 254.1 kB / 477.8 MB, free: 27.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1]) * Number of discrete variables: 4 (system.initime,$whenCondition1,secondary.T_start,secondary.count) * Number of discrete states: 1 (secondary.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001716/0.2869, allocations: 1.861 MB / 479.7 MB, free: 26.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002267/0.2892, allocations: 1.733 MB / 481.4 MB, free: 25.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.2892, allocations: 0 / 481.4 MB, free: 25.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006269/0.2898, allocations: 0.5816 MB / 482 MB, free: 25.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.2904, allocations: 143.2 kB / 482.1 MB, free: 25.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009135/0.2996, allocations: 6.405 MB / 488.5 MB, free: 21.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.3001, allocations: 346.1 kB / 488.9 MB, free: 21.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006038/0.3007, allocations: 153.4 kB / 489 MB, free: 21.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.301, allocations: 234.5 kB / 489.2 MB, free: 21.34 MB / 410.7 MB Notification: Performance of SimCode: time 3.616e-06/0.301, allocations: 4 kB / 489.3 MB, free: 21.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1383/0.4393, allocations: 17.26 MB / 0.4946 GB, free: 18.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.49, allocations: 3.438 kB / 0.4946 GB, free: 18.51 MB / 410.7 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_res.mat --stripRoot --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --mode=me --timeout=240 --tolerance=1e-06 ../PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2.fmu) > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1) [Timeout 252.0] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_OMSimulator-cs-cvode.fmu) > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-cvode timed out simulating the FMU (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_OMSimulator-cs-euler.fmu) > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable time in file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler_res.mat. Error: Error getting time " [Timeout remaining time 660] "" Variables in the reference:hydroPlant.P_control,hydroPlant.P_generator,hydroPlant.reservoirLevel.y Variables in the result:der(hydroPlant.controlDynamics.x_scaled[1]),der(hydroPlant.reservoirLevel.y),der(hydroPlant.rotor.phi),der(hydroPlant.rotor.w),der(line.terminal_p.theta[2]),der(system.theta),hydroPlant.P_control,hydroPlant.P_generator,hydroPlant.add.k1,hydroPlant.add.k2,hydroPlant.add.u1,hydroPlant.add.u2,hydroPlant.add.y,hydroPlant.angularVelocity.flange.phi,hydroPlant.angularVelocity.flange.tau,hydroPlant.angularVelocity.w,hydroPlant.controlDynamics.a[1],hydroPlant.controlDynamics.a[2],hydroPlant.controlDynamics.b[1],hydroPlant.controlDynamics.initType,hydroPlant.controlDynamics.u,hydroPlant.controlDynamics.x[1],hydroPlant.controlDynamics.x_scaled[1],hydroPlant.controlDynamics.x_start[1],hydroPlant.controlDynamics.y,hydroPlant.controlDynamics.y_start,hydroPlant.definiteReference,hydroPlant.frequency.k,hydroPlant.frequency.u,hydroPlant.frequency.y,hydroPlant.generator.V,hydroPlant.generator.V_nom,hydroPlant.generator.definiteReference,hydroPlant.generator.f_nom,hydroPlant.generator.flange.phi,hydroPlant.generator.flange.tau,hydroPlant.generator.p[1],hydroPlant.generator.p[2],hydroPlant.generator.phi,hydroPlant.generator.potentialReference,hydroPlant.generator.pp,hydroPlant.generator.synchronous,hydroPlant.generator.terminal.i[1],hydroPlant.generator.terminal.i[2],hydroPlant.generator.terminal.theta[1],hydroPlant.generator.terminal.theta[2],hydroPlant.generator.terminal.v[1],hydroPlant.generator.terminal.v[2],hydroPlant.generator.w,hydroPlant.hydroDispatch[1],hydroPlant.hydroDispatch[2],hydroPlant.hydroDispatch[3],hydroPlant.p[1],hydroPlant.p[2],hydroPlant.phi,hydroPlant.potentialReference,hydroPlant.powerControl.k,hydroPlant.powerControl.u,hydroPlant.powerControl.y,hydroPlant.primaryControl.Dzero.k,hydroPlant.primaryControl.Dzero.y,hydroPlant.primaryControl.FFzero.k,hydroPlant.primaryControl.FFzero.y,hydroPlant.primaryControl.Izero.k,hydroPlant.primaryControl.Izero.y,hydroPlant.primaryControl.Nd,hydroPlant.primaryControl.Ni,hydroPlant.primaryControl.P.k,hydroPlant.primaryControl.P.u,hydroPlant.primaryControl.P.y,hydroPlant.primaryControl.Td,hydroPlant.primaryControl.Ti,hydroPlant.primaryControl.addFF.k1,hydroPlant.primaryControl.addFF.k2,hydroPlant.primaryControl.addFF.u1,hydroPlant.primaryControl.addFF.u2,hydroPlant.primaryControl.addFF.y,hydroPlant.primaryControl.addP.k1,hydroPlant.primaryControl.addP.k2,hydroPlant.primaryControl.addP.u1,hydroPlant.primaryControl.addP.u2,hydroPlant.primaryControl.addP.y,hydroPlant.primaryControl.addPID.k1,hydroPlant.primaryControl.addPID.k2,hydroPlant.primaryControl.addPID.k3,hydroPlant.primaryControl.addPID.u1,hydroPlant.primaryControl.addPID.u2,hydroPlant.primaryControl.addPID.u3,hydroPlant.primaryControl.addPID.y,hydroPlant.primaryControl.controlError,hydroPlant.primaryControl.controllerType,hydroPlant.primaryControl.gainPID.k,hydroPlant.primaryControl.gainPID.u,hydroPlant.primaryControl.gainPID.y,hydroPlant.primaryControl.homotopyType,hydroPlant.primaryControl.initType,hydroPlant.primaryControl.k,hydroPlant.primaryControl.kFF,hydroPlant.primaryControl.limiter.homotopyType,hydroPlant.primaryControl.limiter.strict,hydroPlant.primaryControl.limiter.u,hydroPlant.primaryControl.limiter.uMax,hydroPlant.primaryControl.limiter.uMin,hydroPlant.primaryControl.limiter.y,hydroPlant.primaryControl.strict,hydroPlant.primaryControl.u_m,hydroPlant.primaryControl.u_s,hydroPlant.primaryControl.wd,hydroPlant.primaryControl.withFeedForward,hydroPlant.primaryControl.wp,hydroPlant.primaryControl.xd_start,hydroPlant.primaryControl.xi_start,hydroPlant.primaryControl.y,hydroPlant.primaryControl.yMax,hydroPlant.primaryControl.yMin,hydroPlant.primaryControl.y_start,hydroPlant.primaryControlMax,hydroPlant.reference.k,hydroPlant.reference.y,hydroPlant.reservoirLevel.initType,hydroPlant.reservoirLevel.k,hydroPlant.reservoirLevel.u,hydroPlant.reservoirLevel.use_reset,hydroPlant.reservoirLevel.use_set,hydroPlant.reservoirLevel.y,hydroPlant.reservoirLevel.y_start,hydroPlant.reservoirTurbine.flange.phi,hydroPlant.reservoirTurbine.flange.tau,hydroPlant.reservoirTurbine.tau,hydroPlant.reservoirTurbine.useSupport,hydroPlant.riverControl.k,hydroPlant.riverControl.u,hydroPlant.riverControl.y,hydroPlant.riverTurbine.flange.phi,hydroPlant.riverTurbine.flange.tau,hydroPlant.riverTurbine.tau,hydroPlant.riverTurbine.useSupport,hydroPlant.rotor.J,hydroPlant.rotor.a,hydroPlant.rotor.flange_a.phi,hydroPlant.rotor.flange_a.tau,hydroPlant.rotor.flange_b.phi,hydroPlant.rotor.flange_b.tau,hydroPlant.rotor.phi,hydroPlant.rotor.stateSelect,hydroPlant.rotor.w,hydroPlant.rotorRiver.J,hydroPlant.rotorRiver.a,hydroPlant.rotorRiver.flange_a.phi,hydroPlant.rotorRiver.flange_a.tau,hydroPlant.rotorRiver.flange_b.phi,hydroPlant.rotorRiver.flange_b.tau,hydroPlant.rotorRiver.phi,hydroPlant.rotorRiver.stateSelect,hydroPlant.rotorRiver.w,hydroPlant.sender.H,hydroPlant.sender.sendFreq.H,hydroPlant.sender.sendFreq.h,hydroPlant.sender.sendFreq.w_H,hydroPlant.sender.sendFreq.w_h,hydroPlant.sender.w,hydroPlant.terminal.i[1],hydroPlant.terminal.i[2],hydroPlant.terminal.theta[1],hydroPlant.terminal.theta[2],hydroPlant.terminal.v[1],hydroPlant.terminal.v[2],largeGrid.V,largeGrid.definiteReference,largeGrid.p[1],largeGrid.p[2],largeGrid.phi,largeGrid.potentialReference,largeGrid.terminal.i[1],largeGrid.terminal.i[2],largeGrid.terminal.theta[1],largeGrid.terminal.theta[2],largeGrid.terminal.v[1],largeGrid.terminal.v[2],line.I,line.L,line.R,line.V,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.omegaRef,line.p[1],line.p[2],line.phi,line.terminal_n.i[1],line.terminal_n.i[2],line.terminal_n.theta[1],line.terminal_n.theta[2],line.terminal_n.v[1],line.terminal_n.v[2],line.terminal_p.i[1],line.terminal_p.i[2],line.terminal_p.theta[1],line.terminal_p.theta[2],line.terminal_p.v[1],line.terminal_p.v[2],line.v[1],line.v[2],line.v_start[1],line.v_start[2],primary.k,primary.y,schedule.k,schedule.y,secondary.amplitude,secondary.falling,secondary.nperiod,secondary.offset,secondary.period,secondary.rising,secondary.startTime,secondary.width,secondary.y,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.initime,system.omega,system.omega_nom,system.receiveFreq.H,system.receiveFreq.h,system.receiveFreq.w_H,system.receiveFreq.w_h,system.refType,system.synRef,system.theta,system.thetaRef,system.thetaRel,system.w_nom,time filterSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.diff.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_OMSimulator-cs-euler.diff.ref.mat: "" (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy_res.csv --output-variables hydroPlant.P_control hydroPlant.P_generator hydroPlant.reservoirLevel.y --start-time 0 --stop-time 86400 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 ../PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2.fmu) > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 13.8387421797961]