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.001995/0.001995, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002173/0.002173, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.546/1.546, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.1841/0.1841, allocations: 38.55 MB / 353.2 MB, free: 12.36 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTest",fmuType="cs",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.002046/0.002046, allocations: 67.89 kB / 493.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3291, allocations: 62.46 MB / 0.5427 GB, free: 292 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.006551/0.3356, allocations: 3.676 MB / 0.5463 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003968/0.3396, allocations: 2.038 MB / 0.5483 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.3399, allocations: 14.53 kB / 0.5483 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009246/0.3408, allocations: 245.3 kB / 0.5485 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.3418, allocations: 327.1 kB / 0.5488 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000898/0.3427, allocations: 258.3 kB / 0.5491 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009382/0.3437, allocations: 0.5325 MB / 0.5496 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005406/0.3442, allocations: 198 kB / 0.5498 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.3448, allocations: 247.3 kB / 0.55 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.3453, allocations: 236.3 kB / 0.5502 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.3454, allocations: 40.78 kB / 0.5503 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009067/0.3464, allocations: 398.9 kB / 0.5507 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.3466, allocations: 138.8 kB / 0.5508 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.3469, allocations: 156.7 kB / 0.5509 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.348, allocations: 0.6878 MB / 0.5516 GB, free: 9.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.348, allocations: 4 kB / 0.5516 GB, free: 9.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.348, allocations: 1.219 kB / 0.5516 GB, free: 9.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.3481, allocations: 0 / 0.5516 GB, free: 9.621 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.001569/0.3496, allocations: 0.7052 MB / 0.5523 GB, free: 9.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3497, allocations: 13.61 kB / 0.5523 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.175e-05/0.3497, allocations: 10.06 kB / 0.5523 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.033e-05/0.3498, allocations: 67.83 kB / 0.5524 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.3508, allocations: 105.2 kB / 0.5525 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.3514, allocations: 331.6 kB / 0.5528 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.3514, allocations: 25.08 kB / 0.5528 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.3515, allocations: 23.27 kB / 0.5529 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/0.3524, allocations: 488.2 kB / 0.5533 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3524, allocations: 0 / 0.5533 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.3525, allocations: 6.938 kB / 0.5533 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/0.3525, allocations: 15.03 kB / 0.5533 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.3536, allocations: 0.555 MB / 0.5539 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.356, allocations: 1.612 MB / 0.5555 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3571, allocations: 389.8 kB / 0.5558 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.3575, allocations: 144.4 kB / 0.556 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.3575, allocations: 8.266 kB / 0.556 GB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006634/0.3582, allocations: 317.8 kB / 0.5563 GB, free: 6.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.434e-06/0.3582, allocations: 0 / 0.5563 GB, free: 6.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001536/0.3597, allocations: 0.5667 MB / 0.5568 GB, free: 5.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/0.3599, allocations: 290.7 kB / 0.5571 GB, free: 5.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.3604, allocations: 392.5 kB / 0.5575 GB, free: 4.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.3604, allocations: 33.7 kB / 0.5575 GB, free: 4.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.3606, allocations: 204.6 kB / 0.5577 GB, free: 4.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.3607, allocations: 107.1 kB / 0.5578 GB, free: 4.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3608, allocations: 69.69 kB / 0.5579 GB, free: 4.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.361, allocations: 346.8 kB / 0.5582 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004779/0.3615, allocations: 185.8 kB / 0.5584 GB, free: 3.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.362, allocations: 348.3 kB / 0.5587 GB, free: 3.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.3629, allocations: 493.6 kB / 0.5592 GB, free: 2.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3629, allocations: 0 / 0.5592 GB, free: 2.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001159/0.3641, allocations: 0.5704 MB / 0.5598 GB, free: 2.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.3641, allocations: 36.83 kB / 0.5598 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3642, allocations: 7.938 kB / 0.5598 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3642, allocations: 8.562 kB / 0.5598 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.3645, allocations: 91.88 kB / 0.5599 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.3645, allocations: 8 kB / 0.5599 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.3649, allocations: 55.62 kB / 0.56 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.3649, allocations: 19.98 kB / 0.56 GB, free: 2.066 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.0002536/0.3651, allocations: 193.7 kB / 0.5602 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.749e-05/0.3652, allocations: 39.77 kB / 0.5602 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.3664, allocations: 484.6 kB / 0.5607 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.3664, allocations: 4 kB / 0.5607 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.3664, allocations: 4 kB / 0.5607 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3664, allocations: 4 kB / 0.5607 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3675, allocations: 0.9988 MB / 0.5616 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3675, allocations: 4.031 kB / 0.5616 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.3678, allocations: 75.89 kB / 0.5617 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3678, allocations: 4 kB / 0.5617 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.3678, allocations: 11.98 kB / 0.5617 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.3678, allocations: 7.938 kB / 0.5617 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3678, allocations: 7.938 kB / 0.5618 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3689, allocations: 0.5378 MB / 0.5623 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.369, allocations: 43.69 kB / 0.5623 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/0.3691, allocations: 16 kB / 0.5623 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3693, allocations: 27.97 kB / 0.5624 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3694, allocations: 39.88 kB / 0.5624 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.3694, allocations: 20 kB / 0.5624 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003342/0.3698, allocations: 279 kB / 0.5627 GB, free: 15.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3698, allocations: 4 kB / 0.5627 GB, free: 15.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000534/0.3703, allocations: 111.8 kB / 0.5628 GB, free: 15.04 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.003342/0.3736, allocations: 1.519 MB / 0.5643 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.3748, allocations: 480.8 kB / 0.5647 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3748, allocations: 0 / 0.5647 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.3753, allocations: 217.3 kB / 0.5649 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.3758, allocations: 93.89 kB / 0.565 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006306/0.3822, allocations: 3.967 MB / 0.5689 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3824, allocations: 217.5 kB / 0.5691 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.3827, allocations: 87.2 kB / 0.5692 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.3829, allocations: 131.4 kB / 0.5693 GB, free: 8.215 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3829, allocations: 0 / 0.5693 GB, free: 8.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.4151, allocations: 9.997 MB / 0.5791 GB, free: 14.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.4, allocations: 7.625 kB / 0.5791 GB, free: 14.3 MB / 430.1 MB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 15.385850354097784] Failed to read output from testmodel.py, exit status != 0: 12.63277047406882 12.65164745 12.300028451 Calling exit ...