Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001577, allocations: 185.6 kB / 15.77 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 221.9 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 98.84 kB / 270.2 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2692/0.2692, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004577, allocations: 12 kB / 422.7 MB, free: 26.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1094, allocations: 56.33 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006767/0.1162, allocations: 4.16 MB / 483.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005227/0.1215, allocations: 2.379 MB / 485.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.122, allocations: 23.81 kB / 485.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.1225, allocations: 79.52 kB / 485.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.1235, allocations: 263.1 kB / 485.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1247, allocations: 290.7 kB / 486.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006742/0.1254, allocations: 319.4 kB / 486.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.1262, allocations: 297.9 kB / 486.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005582/0.1268, allocations: 195.3 kB / 487 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.1271, allocations: 163.4 kB / 487.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.045e-05/0.1272, allocations: 20 kB / 487.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009027/0.1281, allocations: 263.5 kB / 487.4 MB, free: 9.586 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.1283, allocations: 95.7 kB / 487.5 MB, free: 9.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1284, allocations: 89.52 kB / 487.6 MB, free: 9.398 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009826/0.1294, allocations: 0.5066 MB / 488.1 MB, free: 8.891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1294, allocations: 0 / 488.1 MB, free: 8.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1294, allocations: 0 / 488.1 MB, free: 8.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1294, allocations: 0 / 488.1 MB, free: 8.891 MB / 330.7 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.001699/0.1311, allocations: 0.716 MB / 488.8 MB, free: 8.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.1312, allocations: 12.03 kB / 488.9 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.1327, allocations: 119.4 kB / 489 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.1336, allocations: 402.6 kB / 489.4 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.1336, allocations: 16.56 kB / 489.4 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/0.1337, allocations: 27.98 kB / 489.4 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.1351, allocations: 461.2 kB / 489.9 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1351, allocations: 3.984 kB / 489.9 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.1352, allocations: 8 kB / 489.9 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-05/0.1352, allocations: 28.38 kB / 489.9 MB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.137, allocations: 0.5012 MB / 490.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.1401, allocations: 1.779 MB / 492.2 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.1419, allocations: 410.1 kB / 492.6 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.618e-05/0.142, allocations: 11.98 kB / 492.6 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00088/0.1429, allocations: 289.6 kB / 492.9 MB, free: 3.852 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.776e-06/0.1429, allocations: 4 kB / 492.9 MB, free: 3.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.002295/0.1452, allocations: 0.5364 MB / 493.4 MB, free: 3.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.1454, allocations: 251.3 kB / 493.7 MB, free: 3.004 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006273/0.146, allocations: 353.6 kB / 494 MB, free: 2.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.1461, allocations: 33.7 kB / 494 MB, free: 2.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.1463, allocations: 250.8 kB / 494.3 MB, free: 2.367 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.1465, allocations: 98.64 kB / 494.4 MB, free: 2.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.1465, allocations: 8 kB / 494.4 MB, free: 2.262 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1467, allocations: 330.8 kB / 494.7 MB, free: 1.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006595/0.1473, allocations: 152.3 kB / 494.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007761/0.1481, allocations: 297.5 kB / 495.2 MB, free: 1.426 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007603/0.1489, allocations: 221.5 kB / 495.4 MB, free: 1.203 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1489, allocations: 0 / 495.4 MB, free: 1.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00178/0.1507, allocations: 0.5186 MB / 495.9 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.1508, allocations: 33.7 kB / 495.9 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1508, allocations: 4 kB / 495.9 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.1509, allocations: 11.98 kB / 495.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006516/0.1515, allocations: 99.81 kB / 496 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.1515, allocations: 7.938 kB / 496 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.1521, allocations: 63.75 kB / 496.1 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.1521, allocations: 20 kB / 496.1 MB, free: 440 kB / 330.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 ($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.0003378/0.1525, allocations: 201.3 kB / 496.3 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.1526, allocations: 39.53 kB / 496.4 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.1528, allocations: 51.27 kB / 496.4 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.1528, allocations: 4 kB / 496.4 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.1528, allocations: 7.984 kB / 496.4 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.1529, allocations: 4 kB / 496.4 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.1541, allocations: 0.843 MB / 497.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.1541, allocations: 4 kB / 497.3 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/0.1546, allocations: 72.02 kB / 497.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.1546, allocations: 4 kB / 497.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.1547, allocations: 8 kB / 497.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.1547, allocations: 11.92 kB / 497.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.1547, allocations: 3.953 kB / 497.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.1563, allocations: 0.5471 MB / 497.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.1565, allocations: 116.6 kB / 498 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.1566, allocations: 19.98 kB / 498 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.157, allocations: 27.98 kB / 498.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.1572, allocations: 39.91 kB / 498.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.1572, allocations: 15.98 kB / 498.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004319/0.1577, allocations: 251.2 kB / 498.4 MB, free: 14 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1577, allocations: 0 / 498.4 MB, free: 14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005986/0.1583, allocations: 87.92 kB / 498.5 MB, free: 13.91 MB / 346.7 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.001352/0.1597, allocations: 465 kB / 498.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.1613, allocations: 439.6 kB / 499.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1613, allocations: 0 / 499.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007505/0.162, allocations: 192.5 kB / 499.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005911/0.1626, allocations: 69.34 kB / 499.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1646, allocations: 0.8365 MB / 0.4887 GB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.1651, allocations: 0.8193 MB / 0.4895 GB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.1654, allocations: 43.42 kB / 0.4896 GB, free: 11.04 MB / 346.7 MB Notification: Performance of SimCode: time 6.963e-06/0.1654, allocations: 0 / 0.4896 GB, free: 11.04 MB / 346.7 MB Notification: Performance of Templates: time 0.01276/0.1782, allocations: 5.423 MB / 0.4948 GB, free: 5.605 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)