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.001656/0.001656, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001518/0.001518, allocations: 213.4 kB / 23.74 MB, free: 4.688 MB / 14.72 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.1852/0.1852, allocations: 38.53 MB / 352.5 MB, free: 12.52 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 70.55 kB / 492.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3228, allocations: 62.47 MB / 0.542 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.00562/0.3284, allocations: 3.844 MB / 0.5457 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.332, allocations: 2.23 MB / 0.5479 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.3322, allocations: 15.12 kB / 0.5479 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008497/0.3331, allocations: 245.9 kB / 0.5482 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007491/0.3338, allocations: 329.1 kB / 0.5485 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.3344, allocations: 253.3 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.3351, allocations: 0.5401 MB / 0.5493 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.3354, allocations: 194.7 kB / 0.5494 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.3359, allocations: 254.2 kB / 0.5497 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.3363, allocations: 231.1 kB / 0.5499 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.3364, allocations: 39.16 kB / 0.5499 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008269/0.3372, allocations: 459.3 kB / 0.5504 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.3374, allocations: 133.6 kB / 0.5505 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.3376, allocations: 194.4 kB / 0.5507 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009409/0.3385, allocations: 0.6776 MB / 0.5514 GB, free: 9.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3385, allocations: 0 / 0.5514 GB, free: 9.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3385, allocations: 0 / 0.5514 GB, free: 9.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3386, allocations: 0 / 0.5514 GB, free: 9.305 MB / 398.1 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.001352/0.3399, allocations: 0.7121 MB / 0.5521 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3399, allocations: 13.8 kB / 0.5521 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.975e-05/0.34, allocations: 59.3 kB / 0.5521 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009128/0.3409, allocations: 109.1 kB / 0.5522 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006933/0.3416, allocations: 372.7 kB / 0.5526 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.3417, allocations: 13.91 kB / 0.5526 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-05/0.3417, allocations: 26.94 kB / 0.5526 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.3426, allocations: 441.9 kB / 0.553 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3426, allocations: 9.25 kB / 0.5531 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.3426, allocations: 9.578 kB / 0.5531 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.3427, allocations: 19 kB / 0.5531 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.3437, allocations: 0.4957 MB / 0.5536 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.3461, allocations: 1.647 MB / 0.5552 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/0.3471, allocations: 354 kB / 0.5555 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.3474, allocations: 127.3 kB / 0.5556 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.3475, allocations: 13.56 kB / 0.5556 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005963/0.348, allocations: 290 kB / 0.5559 GB, free: 5.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 4.117e-06/0.3481, allocations: 5.25 kB / 0.5559 GB, free: 5.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001384/0.3494, allocations: 0.5219 MB / 0.5564 GB, free: 5.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/0.3496, allocations: 298.7 kB / 0.5567 GB, free: 5.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.35, allocations: 348.5 kB / 0.5571 GB, free: 4.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.3501, allocations: 33.7 kB / 0.5571 GB, free: 4.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.3503, allocations: 204.6 kB / 0.5573 GB, free: 4.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.3504, allocations: 111.1 kB / 0.5574 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3505, allocations: 65.7 kB / 0.5574 GB, free: 4.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3507, allocations: 346.8 kB / 0.5578 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.3511, allocations: 139.9 kB / 0.5579 GB, free: 3.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.3515, allocations: 283.2 kB / 0.5582 GB, free: 3.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008654/0.3524, allocations: 462.3 kB / 0.5586 GB, free: 2.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.3524, allocations: 4 kB / 0.5586 GB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001128/0.3535, allocations: 0.514 MB / 0.5591 GB, free: 2.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.3536, allocations: 41.69 kB / 0.5592 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3536, allocations: 4 kB / 0.5592 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.3536, allocations: 8.562 kB / 0.5592 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.354, allocations: 87.83 kB / 0.5593 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.354, allocations: 7.984 kB / 0.5593 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.3543, allocations: 51.75 kB / 0.5593 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.3543, allocations: 16 kB / 0.5593 GB, free: 2.207 MB / 398.1 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.0002263/0.3545, allocations: 193.7 kB / 0.5595 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.3546, allocations: 39.7 kB / 0.5596 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009908/0.3556, allocations: 406.9 kB / 0.5599 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3556, allocations: 7.938 kB / 0.56 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3556, allocations: 4 kB / 0.56 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3556, allocations: 3.984 kB / 0.56 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3566, allocations: 1.01 MB / 0.5609 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.3567, allocations: 4 kB / 0.561 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.3569, allocations: 63.89 kB / 0.561 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.3569, allocations: 4 kB / 0.561 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.357, allocations: 12.19 kB / 0.561 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.357, allocations: 4 kB / 0.561 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/0.357, allocations: 19.86 kB / 0.5611 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009612/0.3579, allocations: 467.5 kB / 0.5615 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.358, allocations: 39.69 kB / 0.5615 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.3581, allocations: 16 kB / 0.5616 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.3583, allocations: 27.97 kB / 0.5616 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.3584, allocations: 43.83 kB / 0.5616 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.3584, allocations: 11.98 kB / 0.5616 GB, free: 15.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002848/0.3587, allocations: 247 kB / 0.5619 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3587, allocations: 0 / 0.5619 GB, free: 15.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004796/0.3592, allocations: 103.8 kB / 0.562 GB, free: 15.38 MB / 414.1 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 (31): * Single equations (assignments): 26 * 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.003054/0.3622, allocations: 1.422 MB / 0.5634 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009618/0.3632, allocations: 406 kB / 0.5637 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3632, allocations: 0 / 0.5637 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.3637, allocations: 185.3 kB / 0.5639 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.3642, allocations: 69.33 kB / 0.564 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006113/0.3703, allocations: 3.719 MB / 0.5676 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.3708, allocations: 0.8111 MB / 0.5684 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.3711, allocations: 91.22 kB / 0.5685 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.3714, allocations: 123.4 kB / 0.5686 GB, free: 8.43 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3714, allocations: 0 / 0.5686 GB, free: 8.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.4074, allocations: 9.285 MB / 0.5777 GB, free: 15.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.86, allocations: 10.16 kB / 0.5777 GB, free: 15.19 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.799180075002369] Failed to read output from testmodel.py, exit status != 0: 12.02464553900063 12.044383109 11.702547685 Calling exit ...