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.0008143/0.0008143, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008189/0.0008189, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8951/0.8951, allocations: 177.1 MB / 204.2 MB, free: 5.758 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.2143/0.2143, allocations: 29.41 MB / 290.1 MB, free: 2.438 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.413e-06/1.413e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.21e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.003296/0.003308, allocations: 3.668 MB / 433.9 MB, free: 9.906 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.005277, allocations: 2.061 MB / 435.9 MB, free: 7.836 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.005406, allocations: 11.88 kB / 435.9 MB, free: 7.824 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.005973, allocations: 230.8 kB / 436.2 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.006382, allocations: 326.3 kB / 436.5 MB, free: 7.277 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.006667, allocations: 262.9 kB / 436.7 MB, free: 7.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.00703, allocations: 0.5337 MB / 437.3 MB, free: 6.484 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.007288, allocations: 211.7 kB / 437.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.007619, allocations: 329.3 kB / 437.8 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.007804, allocations: 191.5 kB / 438 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.00784, allocations: 40 kB / 438 MB, free: 5.723 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.008161, allocations: 398.9 kB / 438.4 MB, free: 5.332 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.008489, allocations: 143.5 kB / 438.6 MB, free: 5.191 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.047e-05/0.008579, allocations: 127.7 kB / 438.7 MB, free: 5.066 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005245/0.009104, allocations: 0.7283 MB / 439.4 MB, free: 4.336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.009106, allocations: 4 kB / 439.4 MB, free: 4.332 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009107, allocations: 4 kB / 439.4 MB, free: 4.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.009111, allocations: 0 / 439.4 MB, free: 4.328 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.0007727/0.009884, allocations: 0.6983 MB / 440.1 MB, free: 3.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.009917, allocations: 15.98 kB / 440.1 MB, free: 3.578 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.00996, allocations: 58.72 kB / 440.2 MB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.01041, allocations: 112.6 kB / 440.3 MB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.01075, allocations: 337.5 kB / 440.6 MB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.01077, allocations: 12.88 kB / 440.6 MB, free: 3.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.0108, allocations: 28.36 kB / 440.7 MB, free: 3.012 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.0113, allocations: 492.8 kB / 441.2 MB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.01131, allocations: 0 / 441.2 MB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.01133, allocations: 7.984 kB / 441.2 MB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.01135, allocations: 24.44 kB / 441.2 MB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005967/0.01195, allocations: 0.5444 MB / 441.7 MB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.01336, allocations: 1.596 MB / 443.3 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1465/0.1599, allocations: 397.2 kB / 443.7 MB, free: 53.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.1601, allocations: 149.8 kB / 443.9 MB, free: 53.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1601, allocations: 5.266 kB / 443.9 MB, free: 53.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.1605, allocations: 304.7 kB / 444.2 MB, free: 53.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.1605, allocations: 0 / 444.2 MB, free: 53.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008263/0.1613, allocations: 0.5665 MB / 444.7 MB, free: 53.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.1613, allocations: 295.6 kB / 445 MB, free: 53.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.1616, allocations: 390.2 kB / 445.4 MB, free: 53.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1616, allocations: 38.95 kB / 445.4 MB, free: 53.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.1617, allocations: 196.4 kB / 445.6 MB, free: 53.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.1618, allocations: 107.6 kB / 445.7 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.1618, allocations: 76.28 kB / 445.8 MB, free: 53.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.1619, allocations: 350.9 kB / 446.1 MB, free: 52.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.1621, allocations: 178.9 kB / 446.3 MB, free: 52.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.1623, allocations: 338.9 kB / 446.7 MB, free: 52.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.1627, allocations: 492.4 kB / 447.1 MB, free: 52.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1627, allocations: 3.375 kB / 447.1 MB, free: 52.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005785/0.1633, allocations: 0.5747 MB / 447.7 MB, free: 51.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.1633, allocations: 32.05 kB / 447.7 MB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1634, allocations: 10.25 kB / 447.8 MB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1634, allocations: 5.938 kB / 447.8 MB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.1635, allocations: 87.17 kB / 447.8 MB, free: 51.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.1636, allocations: 10.41 kB / 447.9 MB, free: 51.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.1637, allocations: 60.69 kB / 447.9 MB, free: 51.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.1637, allocations: 12.75 kB / 447.9 MB, free: 51.91 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.0001163/0.1638, allocations: 196.5 kB / 448.1 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.1639, allocations: 41.98 kB / 448.2 MB, free: 51.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.1644, allocations: 460.7 kB / 448.6 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.1644, allocations: 6.469 kB / 448.6 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1644, allocations: 3.25 kB / 448.6 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1644, allocations: 8.031 kB / 448.6 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.1649, allocations: 1 MB / 449.6 MB, free: 50.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1649, allocations: 4.031 kB / 449.6 MB, free: 50.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1651, allocations: 78.53 kB / 449.7 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1651, allocations: 7.188 kB / 449.7 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.1651, allocations: 13.41 kB / 449.7 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1651, allocations: 3.281 kB / 449.7 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1651, allocations: 2.859 kB / 449.7 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.1656, allocations: 0.5355 MB / 450.3 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.1656, allocations: 50.88 kB / 450.3 MB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.1657, allocations: 21.45 kB / 450.3 MB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1658, allocations: 28.14 kB / 450.4 MB, free: 50.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.1659, allocations: 41.19 kB / 450.4 MB, free: 50.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1659, allocations: 18.44 kB / 450.4 MB, free: 50.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.166, allocations: 280.2 kB / 450.7 MB, free: 50.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.166, allocations: 4 kB / 450.7 MB, free: 50.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.1663, allocations: 114 kB / 450.8 MB, free: 50.25 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.001423/0.1678, allocations: 1.524 MB / 452.3 MB, free: 49.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000521/0.1683, allocations: 478.7 kB / 452.8 MB, free: 49.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1683, allocations: 0 / 452.8 MB, free: 49.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.1685, allocations: 214.3 kB / 453 MB, free: 49.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.1688, allocations: 83.92 kB / 453.1 MB, free: 49.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.1717, allocations: 3.96 MB / 457.1 MB, free: 46.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.1718, allocations: 212.2 kB / 457.3 MB, free: 46.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.172, allocations: 90.75 kB / 457.4 MB, free: 46.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.1721, allocations: 134.1 kB / 457.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1721, allocations: 0 / 457.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.1899, allocations: 10.41 MB / 467.9 MB, free: 44.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/6.905, allocations: 3.938 kB / 467.9 MB, free: 44.17 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 & /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: 8.7366684647277] Failed to read output from testmodel.py, exit status != 0: 7.009195329621434 7.016865129 7.006136539 Calling exit ...