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.001065/0.001065, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002568, allocations: 441.7 kB / 10.32 MB, free: 380 kB / 10.45 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.001116/0.001116, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002528, allocations: 467.5 kB / 11.66 MB, free: 2.504 MB / 13.93 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.9422/0.9422, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08061/1.023, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.1288/0.1288, allocations: 29.44 MB / 273.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1208/0.2495, allocations: 9.531 MB / 282.9 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] 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+3.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0.9688 kB / 284.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.753e-06/8.196e-06, allocations: 3.016 kB / 284.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.004447/0.004455, allocations: 5.436 MB / 289.6 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.006708, allocations: 2.163 MB / 291.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.006936, allocations: 36.25 kB / 291.8 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.007488, allocations: 326.8 kB / 292.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004938/0.007982, allocations: 444 kB / 292.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.008513, allocations: 475 kB / 293 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008172/0.00933, allocations: 1.04 MB / 294 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.0098, allocations: 494.6 kB / 294.5 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005396/0.01034, allocations: 0.625 MB / 295.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.01071, allocations: 372.4 kB / 295.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.01078, allocations: 75.19 kB / 295.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.01113, allocations: 387 kB / 296 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.01128, allocations: 211.4 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.01144, allocations: 203.6 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.01203, allocations: 0.6928 MB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.01204, allocations: 0 / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01204, allocations: 4 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.01205, allocations: 4 kB / 297.1 MB, free: 1.918 MB / 282.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.001343/0.01339, allocations: 1.137 MB / 298.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.01342, allocations: 12.03 kB / 298.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.793e-05/0.0135, allocations: 102.6 kB / 298.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006957/0.0142, allocations: 325.7 kB / 298.6 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.01465, allocations: 432.1 kB / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.01468, allocations: 37.69 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.01474, allocations: 64.28 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.01526, allocations: 0.5517 MB / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.01528, allocations: 192 / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.01532, allocations: 31.94 kB / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.01535, allocations: 29.3 kB / 299.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.01566, allocations: 225 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.01744, allocations: 1.943 MB / 301.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.01781, allocations: 301 kB / 302.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.01795, allocations: 119.1 kB / 302.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.01798, allocations: 16.5 kB / 302.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.01823, allocations: 244.1 kB / 302.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 1.493e-06/0.01823, allocations: 0 / 302.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.001152/0.01938, allocations: 0.8165 MB / 303.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.01943, allocations: 141 kB / 303.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.01966, allocations: 411.2 kB / 304 MB, free: 10.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.0197, allocations: 37.7 kB / 304 MB, free: 10.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.0198, allocations: 254.3 kB / 304.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-05/0.01989, allocations: 202.2 kB / 304.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.02001, allocations: 110.2 kB / 304.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.0201, allocations: 374.6 kB / 304.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.02022, allocations: 104 kB / 305 MB, free: 9.594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.02061, allocations: 272 kB / 305.3 MB, free: 9.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.02089, allocations: 323.4 kB / 305.6 MB, free: 8.906 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.02089, allocations: 0 / 305.6 MB, free: 8.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005897/0.02148, allocations: 0.4995 MB / 306.1 MB, free: 8.379 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.02151, allocations: 29.7 kB / 306.1 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.02151, allocations: 8.297 kB / 306.1 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.02187, allocations: 148.8 kB / 306.3 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.02213, allocations: 119.8 kB / 306.4 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.02404, allocations: 3.041 MB / 309.4 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.02423, allocations: 35.91 kB / 309.5 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.02426, allocations: 20 kB / 309.5 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001888/0.02445, allocations: 192.8 kB / 309.7 MB, free: 4.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001574/0.02461, allocations: 264 kB / 309.9 MB, free: 4.246 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002707/0.02488, allocations: 324.5 kB / 310.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.484e-06/0.02489, allocations: 4 kB / 310.3 MB, free: 3.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.0005027/0.02539, allocations: 475.8 kB / 310.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.02541, allocations: 33.7 kB / 310.8 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.02541, allocations: 0 / 310.8 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/0.02566, allocations: 123.3 kB / 310.9 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.02591, allocations: 119.8 kB / 311 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.02767, allocations: 2.997 MB / 314 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.02785, allocations: 35.95 kB / 314 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.02788, allocations: 16 kB / 314 MB, free: 15.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,hydroPlant.reservoirLevel.local_reset,secondary.count,$PRE.secondary.count,secondary.T_start,$PRE.secondary.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * 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.0001066/0.02799, allocations: 220.1 kB / 314.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.02805, allocations: 55.94 kB / 314.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.02848, allocations: 383.9 kB / 314.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.02849, allocations: 11.94 kB / 314.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.02849, allocations: 3.938 kB / 314.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.0285, allocations: 3.984 kB / 314.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009895/0.02949, allocations: 0.907 MB / 315.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.02949, allocations: 4 kB / 315.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.02982, allocations: 132 kB / 315.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.02995, allocations: 79.55 kB / 315.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.03007, allocations: 44.52 kB / 315.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.0301, allocations: 19.92 kB / 315.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.03113, allocations: 2.45 MB / 318.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.03113, allocations: 3.938 kB / 318.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.03171, allocations: 0.627 MB / 319 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.03175, allocations: 16 kB / 319 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.03193, allocations: 31.97 kB / 319 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.03201, allocations: 48.41 kB / 319.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.03203, allocations: 12 kB / 319.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.03216, allocations: 180.4 kB / 319.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03216, allocations: 0 / 319.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004895/0.03265, allocations: 264 kB / 319.5 MB, free: 10.02 MB / 314.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.0007336/0.03338, allocations: 1.092 MB / 320.6 MB, free: 8.875 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009464/0.03433, allocations: 1.178 MB / 321.8 MB, free: 7.602 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.03434, allocations: 4 kB / 321.8 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.03463, allocations: 419 kB / 322.2 MB, free: 7.156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.03503, allocations: 190.3 kB / 322.4 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.03837, allocations: 3.363 MB / 325.7 MB, free: 3.461 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.03849, allocations: 184.2 kB / 325.9 MB, free: 3.258 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.03869, allocations: 80.64 kB / 326 MB, free: 3.176 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.03908, allocations: 355.2 kB / 326.3 MB, free: 2.828 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.03908, allocations: 0 / 326.3 MB, free: 2.828 MB / 314.7 MB Notification: FMU-only work: backend 0.0006382, simCode 0.001631, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/0.155, allocations: 24.08 MB / 350.4 MB, free: 10.86 MB / 346.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.04/3.195, allocations: 23.86 kB / 350.4 MB, free: 10.83 MB / 346.7 MB " [Timeout remaining time 657] (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.angularVelocity.flange.phi),der(hydroPlant.angularVelocity.w),der(hydroPlant.controlDynamics.x_scaled[1]),der(hydroPlant.frequency.u),der(hydroPlant.generator.flange.phi),der(hydroPlant.reservoirLevel.y),der(hydroPlant.reservoirTurbine.flange.phi),der(hydroPlant.riverTurbine.flange.phi),der(hydroPlant.rotor.flange_a.phi),der(hydroPlant.rotor.flange_b.phi),der(hydroPlant.rotor.phi),der(hydroPlant.rotor.w),der(hydroPlant.rotorRiver.flange_a.phi),der(hydroPlant.rotorRiver.flange_b.phi),der(hydroPlant.rotorRiver.phi),der(hydroPlant.rotorRiver.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 (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode_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 CoSimulation --output-interval 34.56 ../PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2_fmpy-fmi3-cs-cvode.fmu) > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] fmpy-fmi3-cs-cvode timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 5.85204907041043]