Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.001046/0.001046, allocations: 79.69 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.001123/0.001123, allocations: 170 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.919/0.919, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2176/0.2176, allocations: 29.41 MB / 290.1 MB, free: 2.477 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.WindFarmGridTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.949e-05, allocations: 4.109 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.003606/0.003625, allocations: 3.669 MB / 433.9 MB, free: 9.926 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.005657, allocations: 2.053 MB / 435.9 MB, free: 7.863 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.005808, allocations: 15.88 kB / 435.9 MB, free: 7.848 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.006396, allocations: 234.8 kB / 436.2 MB, free: 7.617 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005413/0.006937, allocations: 330.3 kB / 436.5 MB, free: 7.293 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.007347, allocations: 258.9 kB / 436.7 MB, free: 7.039 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.007753, allocations: 0.5415 MB / 437.3 MB, free: 6.496 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.008037, allocations: 199.8 kB / 437.5 MB, free: 6.293 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003716/0.008409, allocations: 319 kB / 437.8 MB, free: 5.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.008618, allocations: 207 kB / 438 MB, free: 5.781 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.008656, allocations: 40 kB / 438 MB, free: 5.742 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.009058, allocations: 394.9 kB / 438.4 MB, free: 5.355 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.009162, allocations: 151.5 kB / 438.6 MB, free: 5.207 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.009259, allocations: 127.7 kB / 438.7 MB, free: 5.082 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006095/0.009868, allocations: 0.7283 MB / 439.4 MB, free: 4.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.009871, allocations: 0 / 439.4 MB, free: 4.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.009872, allocations: 0 / 439.4 MB, free: 4.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.009878, allocations: 0 / 439.4 MB, free: 4.352 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008595/0.01074, allocations: 0.7022 MB / 440.1 MB, free: 3.613 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.01078, allocations: 19.98 kB / 440.1 MB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.01083, allocations: 62.72 kB / 440.2 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007587/0.01159, allocations: 108.6 kB / 440.3 MB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.01208, allocations: 329.5 kB / 440.6 MB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.01211, allocations: 20.88 kB / 440.7 MB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.01214, allocations: 24.36 kB / 440.7 MB, free: 3.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.01274, allocations: 492.8 kB / 441.2 MB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.01275, allocations: 0 / 441.2 MB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.01278, allocations: 19.92 kB / 441.2 MB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.01281, allocations: 16.5 kB / 441.2 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/0.01345, allocations: 0.5521 MB / 441.7 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.01516, allocations: 1.593 MB / 443.3 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1705/0.1856, allocations: 387.5 kB / 443.7 MB, free: 54.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.1859, allocations: 147.4 kB / 443.9 MB, free: 54.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1859, allocations: 4.031 kB / 443.9 MB, free: 54.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003725/0.1863, allocations: 303 kB / 444.2 MB, free: 54.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.344e-06/0.1863, allocations: 0.5 kB / 444.2 MB, free: 54.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008963/0.1872, allocations: 0.5662 MB / 444.7 MB, free: 54.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.1873, allocations: 298.3 kB / 445 MB, free: 53.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.1876, allocations: 388.5 kB / 445.4 MB, free: 53.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1876, allocations: 43 kB / 445.4 MB, free: 53.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.1877, allocations: 195.8 kB / 445.6 MB, free: 53.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.1877, allocations: 109.1 kB / 445.7 MB, free: 53.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.1878, allocations: 75.91 kB / 445.8 MB, free: 53.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.1878, allocations: 350.5 kB / 446.2 MB, free: 53.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.1881, allocations: 181.2 kB / 446.3 MB, free: 52.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.1883, allocations: 339.6 kB / 446.7 MB, free: 52.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.1887, allocations: 494.9 kB / 447.1 MB, free: 52.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1887, allocations: 0 / 447.1 MB, free: 52.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005795/0.1893, allocations: 0.5723 MB / 447.7 MB, free: 52.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.1893, allocations: 36.7 kB / 447.8 MB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1894, allocations: 6.344 kB / 447.8 MB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1894, allocations: 6.438 kB / 447.8 MB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.1896, allocations: 91.47 kB / 447.9 MB, free: 52.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.1896, allocations: 6.281 kB / 447.9 MB, free: 52.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.1897, allocations: 60.23 kB / 447.9 MB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1897, allocations: 16.84 kB / 447.9 MB, free: 52.03 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 (43): * Single equations (assignments): 42 * 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.0001262/0.1899, allocations: 196 kB / 448.1 MB, free: 51.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.1899, allocations: 39.08 kB / 448.2 MB, free: 51.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.1905, allocations: 465.2 kB / 448.6 MB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1905, allocations: 6.281 kB / 448.6 MB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1905, allocations: 3.844 kB / 448.6 MB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.1905, allocations: 7.516 kB / 448.6 MB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.191, allocations: 1.002 MB / 449.6 MB, free: 50.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.191, allocations: 0 / 449.6 MB, free: 50.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1912, allocations: 76.97 kB / 449.7 MB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1912, allocations: 3.094 kB / 449.7 MB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1912, allocations: 19.66 kB / 449.7 MB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1912, allocations: 3.219 kB / 449.7 MB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1912, allocations: 7.344 kB / 449.7 MB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.1917, allocations: 0.5324 MB / 450.3 MB, free: 50.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.1918, allocations: 48.3 kB / 450.3 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.1918, allocations: 17.73 kB / 450.3 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1919, allocations: 33.94 kB / 450.4 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.192, allocations: 44.98 kB / 450.4 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.1921, allocations: 10.91 kB / 450.4 MB, free: 50.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1922, allocations: 278.7 kB / 450.7 MB, free: 50.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1922, allocations: 3.156 kB / 450.7 MB, free: 50.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003628/0.1926, allocations: 114.8 kB / 450.8 MB, free: 50.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (40): * Single equations (assignments): 35 * 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.001653/0.1943, allocations: 1.516 MB / 452.3 MB, free: 49.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.1949, allocations: 479.1 kB / 452.8 MB, free: 49.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1949, allocations: 0 / 452.8 MB, free: 49.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.1951, allocations: 218 kB / 453 MB, free: 49.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1955, allocations: 73.28 kB / 453.1 MB, free: 49.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.199, allocations: 3.974 MB / 457.1 MB, free: 46.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.1991, allocations: 214.1 kB / 457.3 MB, free: 46.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.1993, allocations: 92.78 kB / 457.4 MB, free: 46.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.1995, allocations: 139 kB / 457.5 MB, free: 46.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/0.1995, allocations: 4 kB / 457.5 MB, free: 46.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.2209, allocations: 10.39 MB / 467.9 MB, free: 44.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/7.082, allocations: 7.281 kB / 467.9 MB, free: 44.33 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest_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_WindFarmGridTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.070278943516314] Failed to read output from testmodel.py, exit status != 0: 7.1848328942433 7.193606688 7.181819768 Calling exit ...