Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.0008265/0.0008265, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008381/0.0008381, allocations: 174 kB / 23.95 MB, free: 0.6133 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.9204/0.9204, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2167/0.2167, allocations: 29.4 MB / 290.1 MB, free: 2.441 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.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.739e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.00384/0.003857, allocations: 4.157 MB / 434.4 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.006438, allocations: 2.469 MB / 436.8 MB, free: 6.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.006632, allocations: 15.88 kB / 436.8 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.00733, allocations: 342.4 kB / 437.2 MB, free: 6.578 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.007956, allocations: 386 kB / 437.6 MB, free: 6.199 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.008508, allocations: 370.4 kB / 437.9 MB, free: 5.836 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.009076, allocations: 0.635 MB / 438.6 MB, free: 5.199 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.009417, allocations: 222.1 kB / 438.8 MB, free: 4.977 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004439/0.009861, allocations: 363 kB / 439.1 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.0101, allocations: 242.8 kB / 439.4 MB, free: 4.387 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.01014, allocations: 44 kB / 439.4 MB, free: 4.344 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005919/0.01073, allocations: 0.5024 MB / 439.9 MB, free: 3.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.01086, allocations: 155.5 kB / 440.1 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.01097, allocations: 135.6 kB / 440.2 MB, free: 3.555 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007429/0.01171, allocations: 0.7868 MB / 441 MB, free: 2.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01171, allocations: 0 / 441 MB, free: 2.766 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01172, allocations: 4 kB / 441 MB, free: 2.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.01172, allocations: 4 kB / 441 MB, free: 2.758 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009017/0.01262, allocations: 0.7372 MB / 441.7 MB, free: 1.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.01266, allocations: 11.98 kB / 441.7 MB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.01271, allocations: 54.73 kB / 441.8 MB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005397/0.01325, allocations: 116.6 kB / 441.9 MB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.01363, allocations: 341.5 kB / 442.2 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.01365, allocations: 16.88 kB / 442.3 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.01368, allocations: 24.36 kB / 442.3 MB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.01423, allocations: 0.4907 MB / 442.8 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.01424, allocations: 3.938 kB / 442.8 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.01426, allocations: 12 kB / 442.8 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.01429, allocations: 20.48 kB / 442.8 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006129/0.01491, allocations: 0.5248 MB / 443.3 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1764/0.1913, allocations: 1.705 MB / 445 MB, free: 53.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.192, allocations: 400.1 kB / 445.4 MB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1921, allocations: 157 kB / 445.6 MB, free: 53.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1922, allocations: 3.125 kB / 445.6 MB, free: 53.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.1925, allocations: 284.9 kB / 445.9 MB, free: 53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.255e-06/0.1925, allocations: 1.266 kB / 445.9 MB, free: 53 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007436/0.1932, allocations: 0.5552 MB / 446.4 MB, free: 52.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1933, allocations: 247.9 kB / 446.7 MB, free: 52.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.1935, allocations: 414.5 kB / 447.1 MB, free: 52.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1936, allocations: 36.27 kB / 447.1 MB, free: 52.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.1936, allocations: 212.7 kB / 447.3 MB, free: 52.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.1937, allocations: 103.6 kB / 447.4 MB, free: 52.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.1937, allocations: 69.45 kB / 447.5 MB, free: 52.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.1938, allocations: 350.7 kB / 447.8 MB, free: 51.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.194, allocations: 192.9 kB / 448 MB, free: 51.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.1942, allocations: 336.3 kB / 448.3 MB, free: 51.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.1946, allocations: 497.7 kB / 448.8 MB, free: 51.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1946, allocations: 6.531 kB / 448.8 MB, free: 51.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005286/0.1951, allocations: 0.5852 MB / 449.4 MB, free: 50.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1952, allocations: 34.23 kB / 449.4 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1952, allocations: 3.188 kB / 449.4 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1952, allocations: 6.438 kB / 449.5 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1954, allocations: 96.61 kB / 449.5 MB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1954, allocations: 10.47 kB / 449.6 MB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1955, allocations: 53.5 kB / 449.6 MB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1955, allocations: 26.08 kB / 449.6 MB, free: 50.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.000112/0.1956, allocations: 195.1 kB / 449.8 MB, free: 50.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.1957, allocations: 41.84 kB / 449.9 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.1962, allocations: 484.9 kB / 450.3 MB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.1962, allocations: 3.219 kB / 450.3 MB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1962, allocations: 3.312 kB / 450.3 MB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1962, allocations: 6.469 kB / 450.4 MB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.1967, allocations: 0.8197 MB / 451.2 MB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1967, allocations: 6.594 kB / 451.2 MB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.1968, allocations: 69.72 kB / 451.2 MB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1968, allocations: 3.156 kB / 451.3 MB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1968, allocations: 21.83 kB / 451.3 MB, free: 49.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1968, allocations: 7.031 kB / 451.3 MB, free: 49.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1968, allocations: 3.281 kB / 451.3 MB, free: 49.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.1973, allocations: 0.5148 MB / 451.8 MB, free: 49.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.1973, allocations: 45.95 kB / 451.8 MB, free: 49.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.1974, allocations: 17.78 kB / 451.9 MB, free: 49.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.1975, allocations: 34.19 kB / 451.9 MB, free: 49.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.1975, allocations: 37.03 kB / 451.9 MB, free: 49.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.1975, allocations: 16.14 kB / 451.9 MB, free: 49.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1977, allocations: 296.8 kB / 452.2 MB, free: 49.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1977, allocations: 0 / 452.2 MB, free: 49.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003097/0.198, allocations: 113.9 kB / 452.3 MB, free: 49.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001384/0.1994, allocations: 1.512 MB / 453.9 MB, free: 48.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004917/0.1999, allocations: 480 kB / 454.3 MB, free: 48.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1999, allocations: 320 / 454.3 MB, free: 48.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.2001, allocations: 214.2 kB / 454.5 MB, free: 48.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2004, allocations: 68.64 kB / 454.6 MB, free: 48.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.2034, allocations: 4.027 MB / 458.6 MB, free: 45.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.2035, allocations: 217 kB / 458.8 MB, free: 45.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.2036, allocations: 93.08 kB / 458.9 MB, free: 45.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.2038, allocations: 143 kB / 459.1 MB, free: 45.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2038, allocations: 0 / 459.1 MB, free: 45.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.226, allocations: 10.62 MB / 469.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/6.992, allocations: 7.109 kB / 469.7 MB, free: 43.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.98289056494832] Failed to read output from testmodel.py, exit status != 0: 7.093192753382027 7.104995771 7.091343916 Calling exit ...