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.001382/0.001382, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.001726/0.001726, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.1982/0.1982, allocations: 38.52 MB / 352.4 MB, free: 12.57 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.002132/0.002132, allocations: 71.89 kB / 492.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3326, allocations: 62.46 MB / 0.542 GB, free: 312 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005559/0.3382, allocations: 3.844 MB / 0.5458 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.3416, allocations: 2.238 MB / 0.5479 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.3418, allocations: 13.66 kB / 0.548 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008129/0.3426, allocations: 243.2 kB / 0.5482 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006991/0.3433, allocations: 324.9 kB / 0.5485 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.3439, allocations: 256.4 kB / 0.5487 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006686/0.3446, allocations: 0.5337 MB / 0.5493 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004032/0.345, allocations: 206 kB / 0.5495 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.3455, allocations: 249.6 kB / 0.5497 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.3458, allocations: 228.2 kB / 0.5499 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.3459, allocations: 38.97 kB / 0.5499 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000809/0.3467, allocations: 463.3 kB / 0.5504 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.3468, allocations: 134.3 kB / 0.5505 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.347, allocations: 184.9 kB / 0.5507 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.348, allocations: 0.6853 MB / 0.5514 GB, free: 9.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.348, allocations: 7.938 kB / 0.5514 GB, free: 9.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.348, allocations: 1.094 kB / 0.5514 GB, free: 9.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.348, allocations: 0 / 0.5514 GB, free: 9.188 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.001336/0.3493, allocations: 0.7001 MB / 0.5521 GB, free: 8.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3493, allocations: 16.94 kB / 0.5521 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.796e-05/0.3494, allocations: 55.92 kB / 0.5521 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008841/0.3503, allocations: 112.5 kB / 0.5522 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.3509, allocations: 369 kB / 0.5526 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.351, allocations: 17.81 kB / 0.5526 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.351, allocations: 26.91 kB / 0.5526 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008924/0.3519, allocations: 446 kB / 0.5531 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3519, allocations: 1.156 kB / 0.5531 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.352, allocations: 18.14 kB / 0.5531 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/0.352, allocations: 18.27 kB / 0.5531 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3531, allocations: 0.4964 MB / 0.5536 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.3555, allocations: 1.643 MB / 0.5552 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/0.3564, allocations: 346.5 kB / 0.5555 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.3568, allocations: 134.2 kB / 0.5556 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.3568, allocations: 17.64 kB / 0.5557 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005692/0.3574, allocations: 290.2 kB / 0.5559 GB, free: 5.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.344e-06/0.3574, allocations: 1.125 kB / 0.5559 GB, free: 5.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.00139/0.3588, allocations: 0.526 MB / 0.5564 GB, free: 5.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002142/0.359, allocations: 290.7 kB / 0.5567 GB, free: 4.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.3594, allocations: 344.5 kB / 0.557 GB, free: 4.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.3595, allocations: 42.03 kB / 0.5571 GB, free: 4.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.3596, allocations: 204.6 kB / 0.5573 GB, free: 4.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.3598, allocations: 107.2 kB / 0.5574 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3599, allocations: 69.69 kB / 0.5575 GB, free: 4.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.36, allocations: 346.8 kB / 0.5578 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.3604, allocations: 139.9 kB / 0.5579 GB, free: 3.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.3609, allocations: 277 kB / 0.5582 GB, free: 3.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009099/0.3618, allocations: 461.6 kB / 0.5586 GB, free: 2.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.3618, allocations: 4 kB / 0.5586 GB, free: 2.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001113/0.3629, allocations: 0.5224 MB / 0.5591 GB, free: 2.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.363, allocations: 33.7 kB / 0.5592 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.363, allocations: 4 kB / 0.5592 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.363, allocations: 8 kB / 0.5592 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.3634, allocations: 91.81 kB / 0.5593 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3634, allocations: 4 kB / 0.5593 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.3637, allocations: 47.75 kB / 0.5593 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.3637, allocations: 20 kB / 0.5593 GB, free: 2.129 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.0002331/0.3639, allocations: 197.7 kB / 0.5595 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/0.364, allocations: 47.64 kB / 0.5596 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009782/0.365, allocations: 410.8 kB / 0.56 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.365, allocations: 7.938 kB / 0.56 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.365, allocations: 4 kB / 0.56 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.365, allocations: 7.938 kB / 0.56 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3661, allocations: 1.002 MB / 0.561 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3661, allocations: 12.17 kB / 0.561 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.3664, allocations: 55.91 kB / 0.561 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.3664, allocations: 4 kB / 0.561 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.3664, allocations: 11.98 kB / 0.561 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3664, allocations: 4 kB / 0.561 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.3664, allocations: 7.875 kB / 0.5611 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.3674, allocations: 471.5 kB / 0.5615 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.3675, allocations: 39.7 kB / 0.5615 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.3676, allocations: 15.98 kB / 0.5616 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.3678, allocations: 23.97 kB / 0.5616 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3679, allocations: 39.83 kB / 0.5616 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.3679, allocations: 23.98 kB / 0.5616 GB, free: 15.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002927/0.3682, allocations: 243 kB / 0.5619 GB, free: 15.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3682, allocations: 0 / 0.5619 GB, free: 15.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004915/0.3687, allocations: 103.8 kB / 0.562 GB, free: 15.3 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.00303/0.3717, allocations: 1.412 MB / 0.5633 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000945/0.3727, allocations: 407.1 kB / 0.5637 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3727, allocations: 4.062 kB / 0.5637 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.3731, allocations: 183.7 kB / 0.5639 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.3736, allocations: 72.62 kB / 0.564 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.3794, allocations: 3.727 MB / 0.5676 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.3799, allocations: 0.8072 MB / 0.5684 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.3801, allocations: 95.17 kB / 0.5685 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.3804, allocations: 123.4 kB / 0.5686 GB, free: 8.348 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3804, allocations: 0 / 0.5686 GB, free: 8.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.4176, allocations: 9.275 MB / 0.5777 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.87, allocations: 7.938 kB / 0.5777 GB, free: 15.11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTest_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.926736715016887] Failed to read output from testmodel.py, exit status != 0: 12.037368540186435 12.060478431 11.708972532 Calling exit ...