Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009287/0.0009297, allocations: 83.86 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000917/0.0009174, allocations: 180.1 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 223.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.336/0.336, allocations: 38.06 MB / 309.7 MB, free: 8.871 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005752/0.0005755, allocations: 16 kB / 376.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1408, allocations: 56.33 MB / 433 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006267/0.1471, allocations: 4.273 MB / 437.2 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004164/0.1513, allocations: 2.453 MB / 439.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00052/0.1519, allocations: 31.75 kB / 439.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.1525, allocations: 83.44 kB / 439.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.1535, allocations: 302.4 kB / 440.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009854/0.1546, allocations: 279.2 kB / 440.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008825/0.1555, allocations: 0.6428 MB / 441 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006697/0.1561, allocations: 297.9 kB / 441.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006527/0.1568, allocations: 223 kB / 441.5 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.1573, allocations: 227.2 kB / 441.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.023e-05/0.1573, allocations: 16 kB / 441.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007089/0.1581, allocations: 283.3 kB / 442 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.1582, allocations: 103.7 kB / 442.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1583, allocations: 89.52 kB / 442.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007818/0.1591, allocations: 0.5105 MB / 442.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1592, allocations: 4 kB / 442.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1592, allocations: 0 / 442.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.1592, allocations: 0 / 442.7 MB, free: 12.91 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001381/0.1606, allocations: 0.7084 MB / 443.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1606, allocations: 8.031 kB / 443.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.1607, allocations: 62.52 kB / 443.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.1617, allocations: 115.3 kB / 443.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.1624, allocations: 394.6 kB / 444 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1624, allocations: 24.53 kB / 444 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.1625, allocations: 20 kB / 444 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/0.1633, allocations: 469.2 kB / 444.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1633, allocations: 0 / 444.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.1634, allocations: 8 kB / 444.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.1634, allocations: 24.42 kB / 444.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009876/0.1644, allocations: 0.4973 MB / 445 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.1667, allocations: 1.791 MB / 446.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/0.1677, allocations: 405.1 kB / 447.2 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.1681, allocations: 157.6 kB / 447.4 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.1682, allocations: 7.984 kB / 447.4 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005538/0.1687, allocations: 289.1 kB / 447.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.294e-06/0.1687, allocations: 0 / 447.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001319/0.1701, allocations: 0.5444 MB / 448.2 MB, free: 7.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.1702, allocations: 243.3 kB / 448.4 MB, free: 6.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/0.1707, allocations: 353.5 kB / 448.8 MB, free: 6.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.1707, allocations: 41.69 kB / 448.8 MB, free: 6.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.1709, allocations: 208.2 kB / 449 MB, free: 6.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1711, allocations: 98.7 kB / 449.1 MB, free: 6.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.1711, allocations: 12.03 kB / 449.1 MB, free: 6.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1713, allocations: 346.8 kB / 449.5 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.1717, allocations: 152.3 kB / 449.6 MB, free: 5.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.1722, allocations: 297.5 kB / 449.9 MB, free: 5.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.1727, allocations: 217.5 kB / 450.1 MB, free: 5.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1727, allocations: 0 / 450.1 MB, free: 5.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001151/0.1739, allocations: 0.5415 MB / 450.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.1739, allocations: 37.7 kB / 450.7 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1739, allocations: 4 kB / 450.7 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.174, allocations: 4 kB / 450.7 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.1743, allocations: 104.2 kB / 450.8 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.1744, allocations: 7.953 kB / 450.8 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.1747, allocations: 67.5 kB / 450.9 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.1748, allocations: 23.98 kB / 450.9 MB, free: 4.227 MB / 382.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 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002801/0.175, allocations: 193.4 kB / 451.1 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.1751, allocations: 35.62 kB / 451.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.1753, allocations: 51.28 kB / 451.2 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1753, allocations: 11.98 kB / 451.2 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.1753, allocations: 0 / 451.2 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.1753, allocations: 11.94 kB / 451.2 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1764, allocations: 0.8508 MB / 452.1 MB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.1764, allocations: 0 / 452.1 MB, free: 3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.1767, allocations: 63.95 kB / 452.1 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.1767, allocations: 4 kB / 452.1 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.1767, allocations: 11.95 kB / 452.1 MB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.1767, allocations: 11.92 kB / 452.2 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1768, allocations: 0 / 452.2 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009431/0.1777, allocations: 473.7 kB / 452.6 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.1778, allocations: 120.6 kB / 452.7 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.1779, allocations: 20 kB / 452.8 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.1781, allocations: 35.86 kB / 452.8 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.1782, allocations: 31.95 kB / 452.8 MB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.1783, allocations: 19.98 kB / 452.8 MB, free: 2.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002864/0.1786, allocations: 247.2 kB / 453.1 MB, free: 1.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1786, allocations: 7.938 kB / 453.1 MB, free: 1.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004569/0.179, allocations: 95.83 kB / 453.2 MB, free: 1.824 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002263/0.1813, allocations: 1.36 MB / 454.5 MB, free: 420 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.198/0.3793, allocations: 430.5 kB / 455 MB, free: 51.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.3794, allocations: 0 / 455 MB, free: 51.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.3799, allocations: 206 kB / 455.2 MB, free: 51.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.3805, allocations: 66.75 kB / 455.2 MB, free: 51.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.3837, allocations: 2.361 MB / 457.6 MB, free: 50.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.3839, allocations: 0.8064 MB / 458.4 MB, free: 49.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.3842, allocations: 90.2 kB / 458.5 MB, free: 49.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.3844, allocations: 125.6 kB / 458.6 MB, free: 49.78 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3844, allocations: 0 / 458.6 MB, free: 49.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.4045, allocations: 7.761 MB / 466.4 MB, free: 49.24 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.4047, allocations: 234.4 kB / 466.6 MB, free: 48.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.367, allocations: 0 / 466.6 MB, free: 48.99 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) Environment - environmentSimulation: