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: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001214/0.001214, allocations: 192 kB / 18.62 MB, free: 4.41 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.484/1.484, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1814/0.1814, allocations: 37.99 MB / 309.8 MB, free: 5.969 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.001487/0.001487, allocations: 71.55 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2466, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004508/0.2512, allocations: 4.244 MB / 436.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.2539, allocations: 2.427 MB / 438.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.2541, allocations: 11.94 kB / 438.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009277/0.2551, allocations: 350.5 kB / 439 MB, free: 12.44 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005825/0.2557, allocations: 338.5 kB / 439.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007267/0.2564, allocations: 361.3 kB / 439.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.2569, allocations: 0.6195 MB / 440.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.2573, allocations: 234.1 kB / 440.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003868/0.2577, allocations: 262.9 kB / 440.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.258, allocations: 239.1 kB / 441.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.258, allocations: 40 kB / 441.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.2588, allocations: 0.5417 MB / 441.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.2589, allocations: 139.5 kB / 441.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.2591, allocations: 191.1 kB / 442 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007449/0.2598, allocations: 0.6895 MB / 442.7 MB, free: 8.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2598, allocations: 0 / 442.7 MB, free: 8.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2598, allocations: 0 / 442.7 MB, free: 8.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.2599, allocations: 0 / 442.7 MB, free: 8.82 MB / 318.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.001204/0.2611, allocations: 0.7823 MB / 443.4 MB, free: 7.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2611, allocations: 11.89 kB / 443.5 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.2622, allocations: 112.4 kB / 443.6 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.2627, allocations: 427.6 kB / 444 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.2627, allocations: 20.94 kB / 444 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.2628, allocations: 24.12 kB / 444 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.2635, allocations: 449.2 kB / 444.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2635, allocations: 0 / 444.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.2635, allocations: 12 kB / 444.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.2636, allocations: 24.36 kB / 444.5 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008174/0.2644, allocations: 493.2 kB / 445 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.266, allocations: 1.775 MB / 446.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/0.2669, allocations: 381.1 kB / 447.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.2672, allocations: 145.6 kB / 447.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.2672, allocations: 12 kB / 447.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.2677, allocations: 277.1 kB / 447.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/0.2677, allocations: 0 / 447.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001129/0.2688, allocations: 0.5091 MB / 448.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/0.2689, allocations: 251.3 kB / 448.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.2692, allocations: 357.5 kB / 448.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.2693, allocations: 37.69 kB / 448.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.2694, allocations: 200.3 kB / 448.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.2695, allocations: 102.6 kB / 449 MB, free: 2.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.2696, allocations: 69.69 kB / 449.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.2697, allocations: 350.8 kB / 449.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.27, allocations: 144.3 kB / 449.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.2704, allocations: 289.4 kB / 449.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/0.271, allocations: 461.6 kB / 450.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.271, allocations: 0 / 450.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008367/0.2719, allocations: 0.518 MB / 450.8 MB, free: 160 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.2719, allocations: 41.69 kB / 450.8 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2719, allocations: 7.938 kB / 450.8 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2719, allocations: 4 kB / 450.8 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.2723, allocations: 92.23 kB / 450.9 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.612e-05/0.2723, allocations: 16.03 kB / 450.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.2726, allocations: 47.61 kB / 451 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.2726, allocations: 20 kB / 451 MB, free: 15.93 MB / 334.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 (44): * Single equations (assignments): 43 * 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.0002006/0.2728, allocations: 189.6 kB / 451.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.2729, allocations: 43.47 kB / 451.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.991e-05/0.273, allocations: 47.27 kB / 451.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.273, allocations: 4 kB / 451.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.2731, allocations: 12 kB / 451.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2731, allocations: 0 / 451.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008492/0.2739, allocations: 0.8583 MB / 452.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2739, allocations: 4 kB / 452.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.2742, allocations: 60.08 kB / 452.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.2742, allocations: 4 kB / 452.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.2742, allocations: 15.92 kB / 452.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.2743, allocations: 7.938 kB / 452.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2743, allocations: 0 / 452.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008713/0.2751, allocations: 457.5 kB / 452.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.2752, allocations: 120.6 kB / 452.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.2753, allocations: 12 kB / 452.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.2755, allocations: 23.97 kB / 452.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.2756, allocations: 39.89 kB / 452.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.2757, allocations: 16 kB / 452.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.2759, allocations: 251.2 kB / 453.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2759, allocations: 0 / 453.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004216/0.2764, allocations: 95.84 kB / 453.2 MB, free: 13.55 MB / 334.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 (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.001103/0.2775, allocations: 465.7 kB / 453.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009061/0.2784, allocations: 419.9 kB / 454.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2784, allocations: 0 / 454.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.2789, allocations: 188.9 kB / 454.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.2793, allocations: 77.33 kB / 454.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2806, allocations: 0.6967 MB / 455.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.281, allocations: 0.8073 MB / 455.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.2812, allocations: 91.2 kB / 456 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2813, allocations: 51.41 kB / 456 MB, free: 10.76 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2813, allocations: 0 / 456 MB, free: 10.76 MB / 334.1 MB Notification: Performance of Templates: time 0.009545/0.2909, allocations: 4.668 MB / 460.7 MB, free: 6.086 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (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 & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)