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.001477/0.001477, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001796/0.001796, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.58/1.58, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.2388/0.2388, allocations: 38.5 MB / 349.4 MB, free: 2.637 MB / 270.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.003035/0.003035, allocations: 71.64 kB / 487.8 MB, free: 32.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.127, allocations: 62.42 MB / 0.5374 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005762/0.1328, allocations: 3.735 MB / 0.541 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004/0.1368, allocations: 2.221 MB / 0.5432 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.137, allocations: 11.88 kB / 0.5432 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000898/0.1379, allocations: 246.9 kB / 0.5434 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008265/0.1388, allocations: 318.7 kB / 0.5437 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006562/0.1394, allocations: 255.2 kB / 0.544 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000688/0.1401, allocations: 0.5416 MB / 0.5445 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.1405, allocations: 171.6 kB / 0.5447 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005168/0.141, allocations: 251.1 kB / 0.5449 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.1413, allocations: 227.2 kB / 0.5451 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.229e-05/0.1414, allocations: 40 kB / 0.5452 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007793/0.1422, allocations: 463 kB / 0.5456 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.1423, allocations: 131.6 kB / 0.5457 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.1425, allocations: 191 kB / 0.5459 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009533/0.1435, allocations: 0.6812 MB / 0.5466 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1435, allocations: 0 / 0.5466 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1435, allocations: 7.984 kB / 0.5466 GB, free: 84 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1435, allocations: 0 / 0.5466 GB, free: 84 kB / 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.001363/0.1449, allocations: 0.7814 MB / 0.5473 GB, free: 15.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1449, allocations: 12.03 kB / 0.5473 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.76e-05/0.1449, allocations: 4.625 kB / 0.5474 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.943e-05/0.145, allocations: 70.72 kB / 0.5474 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009076/0.1459, allocations: 104.6 kB / 0.5475 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.1465, allocations: 419.8 kB / 0.5479 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1466, allocations: 28.55 kB / 0.5479 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.1466, allocations: 20 kB / 0.548 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008898/0.1475, allocations: 446.8 kB / 0.5484 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1475, allocations: 0 / 0.5484 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.1476, allocations: 15.98 kB / 0.5484 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.1476, allocations: 24.38 kB / 0.5484 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.1487, allocations: 0.4895 MB / 0.5489 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.1511, allocations: 1.678 MB / 0.5505 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.1521, allocations: 349.1 kB / 0.5509 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.1524, allocations: 141.6 kB / 0.551 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.1525, allocations: 4 kB / 0.551 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000608/0.1531, allocations: 290.7 kB / 0.5513 GB, free: 10.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1531, allocations: 0 / 0.5513 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001414/0.1545, allocations: 0.5243 MB / 0.5518 GB, free: 10.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/0.1547, allocations: 298.7 kB / 0.5521 GB, free: 10.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.1551, allocations: 344.4 kB / 0.5524 GB, free: 9.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.1552, allocations: 38.05 kB / 0.5525 GB, free: 9.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.1553, allocations: 212.6 kB / 0.5527 GB, free: 9.461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.1554, allocations: 99.17 kB / 0.5528 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.1556, allocations: 73.69 kB / 0.5528 GB, free: 9.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1557, allocations: 350.8 kB / 0.5532 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.1561, allocations: 139.8 kB / 0.5533 GB, free: 8.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.1567, allocations: 287.5 kB / 0.5536 GB, free: 8.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009438/0.1577, allocations: 461.5 kB / 0.554 GB, free: 7.941 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1577, allocations: 0 / 0.554 GB, free: 7.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001134/0.1588, allocations: 0.5185 MB / 0.5545 GB, free: 7.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.1589, allocations: 33.7 kB / 0.5545 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.1589, allocations: 8 kB / 0.5546 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1589, allocations: 4 kB / 0.5546 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.1592, allocations: 91.81 kB / 0.5546 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1592, allocations: 8 kB / 0.5547 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.1595, allocations: 47.75 kB / 0.5547 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.1596, allocations: 16.09 kB / 0.5547 GB, free: 7.199 MB / 414.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.0002366/0.1598, allocations: 201.6 kB / 0.5549 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.614e-05/0.1599, allocations: 47.75 kB / 0.555 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.16, allocations: 51.27 kB / 0.555 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.16, allocations: 4 kB / 0.555 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.16, allocations: 8 kB / 0.555 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-06/0.16, allocations: 3.984 kB / 0.555 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.1611, allocations: 1.038 MB / 0.556 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1611, allocations: 4 kB / 0.556 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.1614, allocations: 59.95 kB / 0.5561 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1614, allocations: 7.938 kB / 0.5561 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.1614, allocations: 16.17 kB / 0.5561 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.1614, allocations: 7.938 kB / 0.5561 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1614, allocations: 7.938 kB / 0.5561 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009938/0.1624, allocations: 471.5 kB / 0.5566 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.1625, allocations: 108.8 kB / 0.5567 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.1626, allocations: 16 kB / 0.5567 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.1628, allocations: 27.97 kB / 0.5567 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/0.1629, allocations: 39.89 kB / 0.5568 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.1629, allocations: 12 kB / 0.5568 GB, free: 4.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002944/0.1632, allocations: 251 kB / 0.557 GB, free: 4.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1632, allocations: 0 / 0.557 GB, free: 4.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004541/0.1637, allocations: 103.8 kB / 0.5571 GB, free: 4.586 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.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * 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.003024/0.1667, allocations: 1.42 MB / 0.5585 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009575/0.1677, allocations: 398.9 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1677, allocations: 0 / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004743/0.1681, allocations: 193.3 kB / 0.5591 GB, free: 2.719 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.1686, allocations: 76.34 kB / 0.5591 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/0.1743, allocations: 3.729 MB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.1748, allocations: 0.8034 MB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.1751, allocations: 91.19 kB / 0.5636 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.1753, allocations: 123.4 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1753, allocations: 0 / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.2019, allocations: 8.967 MB / 0.5725 GB, free: 4.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.997/9.199, allocations: 11.81 kB / 0.5725 GB, free: 4.684 MB / 430.1 MB " [Timeout remaining time 651] (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: 12.330239341012202] Failed to read output from testmodel.py, exit status != 0: 9.388454239000566 9.411206954 9.263191639 Calling exit ...