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.001358/0.001358, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001513/0.001513, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1879/0.1879, allocations: 38.54 MB / 352.5 MB, free: 12.34 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.003527/0.003527, allocations: 65.61 kB / 492.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3325, allocations: 62.47 MB / 0.5419 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005532/0.338, allocations: 3.664 MB / 0.5455 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00352/0.3415, allocations: 2.056 MB / 0.5475 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.3417, allocations: 18.28 kB / 0.5475 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.3426, allocations: 235.2 kB / 0.5478 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008658/0.3435, allocations: 322.8 kB / 0.5481 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.3441, allocations: 254.1 kB / 0.5483 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006278/0.3447, allocations: 0.5401 MB / 0.5488 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.3451, allocations: 198.2 kB / 0.549 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004547/0.3456, allocations: 247.4 kB / 0.5493 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/0.3459, allocations: 212.1 kB / 0.5495 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.3459, allocations: 41.22 kB / 0.5495 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006659/0.3466, allocations: 394.3 kB / 0.5499 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.3468, allocations: 134.7 kB / 0.55 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.3469, allocations: 154.2 kB / 0.5502 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008658/0.3478, allocations: 0.6946 MB / 0.5508 GB, free: 9.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3478, allocations: 0 / 0.5508 GB, free: 9.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3478, allocations: 5.438 kB / 0.5508 GB, free: 9.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.3478, allocations: 0 / 0.5508 GB, free: 9.645 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.001332/0.3491, allocations: 0.7089 MB / 0.5515 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3492, allocations: 13.7 kB / 0.5515 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.51e-05/0.3493, allocations: 59.59 kB / 0.5516 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.3503, allocations: 112.2 kB / 0.5517 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.3509, allocations: 328.1 kB / 0.552 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.3509, allocations: 21.61 kB / 0.552 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.351, allocations: 31.06 kB / 0.5521 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.352, allocations: 488.2 kB / 0.5525 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.352, allocations: 3.938 kB / 0.5525 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.352, allocations: 11.34 kB / 0.5526 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.352, allocations: 14.19 kB / 0.5526 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.3532, allocations: 0.5437 MB / 0.5531 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.3557, allocations: 1.609 MB / 0.5547 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.3568, allocations: 401.8 kB / 0.5551 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/0.3572, allocations: 145.6 kB / 0.5552 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.3572, allocations: 3.5 kB / 0.5552 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000648/0.3579, allocations: 306.4 kB / 0.5555 GB, free: 6.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.3579, allocations: 0 / 0.5555 GB, free: 6.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001511/0.3594, allocations: 0.5703 MB / 0.556 GB, free: 5.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.3596, allocations: 294.7 kB / 0.5563 GB, free: 5.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.3601, allocations: 392.8 kB / 0.5567 GB, free: 4.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.3601, allocations: 41.7 kB / 0.5567 GB, free: 4.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.3603, allocations: 196.6 kB / 0.5569 GB, free: 4.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.3604, allocations: 111.1 kB / 0.557 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3605, allocations: 73.64 kB / 0.5571 GB, free: 4.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3607, allocations: 346.8 kB / 0.5574 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.3611, allocations: 181.6 kB / 0.5576 GB, free: 3.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.3617, allocations: 346.4 kB / 0.5579 GB, free: 3.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000937/0.3626, allocations: 490.2 kB / 0.5584 GB, free: 2.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3626, allocations: 0 / 0.5584 GB, free: 2.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001206/0.3638, allocations: 0.5786 MB / 0.559 GB, free: 2.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.3639, allocations: 37.7 kB / 0.559 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3639, allocations: 4 kB / 0.559 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3639, allocations: 8 kB / 0.559 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.3643, allocations: 87.81 kB / 0.5591 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.3643, allocations: 8 kB / 0.5591 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.3646, allocations: 55.7 kB / 0.5592 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.3646, allocations: 24.14 kB / 0.5592 GB, free: 2.098 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.0002488/0.3649, allocations: 193.6 kB / 0.5594 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.365, allocations: 43.7 kB / 0.5594 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.3661, allocations: 460.8 kB / 0.5599 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.3661, allocations: 4 kB / 0.5599 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3661, allocations: 8 kB / 0.5599 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3661, allocations: 4 kB / 0.5599 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.3673, allocations: 1.006 MB / 0.5608 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.3673, allocations: 0 / 0.5608 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.3676, allocations: 71.89 kB / 0.5609 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.3676, allocations: 4 kB / 0.5609 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.3676, allocations: 11.98 kB / 0.5609 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.3676, allocations: 12.19 kB / 0.5609 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.3676, allocations: 7.938 kB / 0.561 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.3687, allocations: 0.5419 MB / 0.5615 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.3688, allocations: 47.62 kB / 0.5615 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.3689, allocations: 16 kB / 0.5615 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.3691, allocations: 31.97 kB / 0.5616 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.3692, allocations: 47.81 kB / 0.5616 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.3692, allocations: 12 kB / 0.5616 GB, free: 15.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003526/0.3696, allocations: 279 kB / 0.5619 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3696, allocations: 0 / 0.5619 GB, free: 15.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.3701, allocations: 115.8 kB / 0.562 GB, free: 15.07 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 (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.003306/0.3734, allocations: 1.527 MB / 0.5635 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3744, allocations: 477.7 kB / 0.564 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3744, allocations: 0 / 0.564 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005261/0.375, allocations: 219.7 kB / 0.5642 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.3755, allocations: 74.08 kB / 0.5642 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006204/0.3817, allocations: 3.963 MB / 0.5681 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.3819, allocations: 213.6 kB / 0.5683 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.3822, allocations: 91.19 kB / 0.5684 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.3824, allocations: 143.3 kB / 0.5685 GB, free: 8.258 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3824, allocations: 0 / 0.5685 GB, free: 8.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/0.4228, allocations: 10.27 MB / 0.5786 GB, free: 14.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 3.859 kB / 0.5786 GB, free: 14.05 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.727162999100983] Failed to read output from testmodel.py, exit status != 0: 12.03662391519174 12.065338745 11.711858546 Calling exit ...