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.0009283/0.0009286, allocations: 91.86 kB / 16.65 MB, free: 6.59 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.001178/0.001178, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.436/1.436, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1728/0.1728, allocations: 38.05 MB / 310.1 MB, free: 5.914 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.0007838/0.0007842, allocations: 12.52 kB / 377.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2784, allocations: 56.34 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005165/0.2836, allocations: 4.489 MB / 438 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.287, allocations: 2.599 MB / 440.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005504/0.2876, allocations: 23.88 kB / 440.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.2881, allocations: 75.53 kB / 440.7 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008582/0.289, allocations: 306.9 kB / 441 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007689/0.2898, allocations: 327.3 kB / 441.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007079/0.2905, allocations: 0.7833 MB / 442.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.291, allocations: 326.5 kB / 442.4 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.2913, allocations: 215 kB / 442.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.2916, allocations: 231.1 kB / 442.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.2916, allocations: 16 kB / 442.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007464/0.2924, allocations: 0.6469 MB / 443.5 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.2925, allocations: 107.6 kB / 443.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.2926, allocations: 200.7 kB / 443.8 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.2933, allocations: 0.7048 MB / 444.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2933, allocations: 0 / 444.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2933, allocations: 0 / 444.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2933, allocations: 0 / 444.5 MB, free: 7.613 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.001025/0.2943, allocations: 0.7008 MB / 445.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2944, allocations: 8.031 kB / 445.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009511/0.2953, allocations: 120.3 kB / 445.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.2958, allocations: 411.6 kB / 445.7 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.2958, allocations: 16.94 kB / 445.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.2959, allocations: 28.11 kB / 445.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.2966, allocations: 473.2 kB / 446.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2966, allocations: 3.938 kB / 446.2 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.2967, allocations: 8 kB / 446.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.2967, allocations: 24.41 kB / 446.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008743/0.2976, allocations: 0.5013 MB / 446.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.2992, allocations: 1.775 MB / 448.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009074/0.3001, allocations: 409.1 kB / 449 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.3005, allocations: 153.6 kB / 449.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/0.3005, allocations: 15.94 kB / 449.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004556/0.301, allocations: 289.1 kB / 449.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.301, allocations: 0 / 449.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001165/0.3022, allocations: 0.5559 MB / 450 MB, free: 1.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.3023, allocations: 243.3 kB / 450.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.3026, allocations: 357.5 kB / 450.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.3026, allocations: 41.7 kB / 450.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3027, allocations: 192.4 kB / 450.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.3028, allocations: 110.7 kB / 450.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.3028, allocations: 37.7 kB / 450.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.3029, allocations: 350.8 kB / 451.3 MB, free: 484 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.3032, allocations: 144.3 kB / 451.4 MB, free: 336 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.3037, allocations: 305.4 kB / 451.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008545/0.3045, allocations: 485.6 kB / 452.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3045, allocations: 4 kB / 452.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001021/0.3056, allocations: 0.5417 MB / 452.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.3056, allocations: 37.77 kB / 452.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3056, allocations: 7.984 kB / 452.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3057, allocations: 11.94 kB / 452.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.306, allocations: 91.89 kB / 452.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.306, allocations: 11.97 kB / 452.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.3063, allocations: 63.61 kB / 452.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.3063, allocations: 19.98 kB / 453 MB, free: 14.62 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.0002044/0.3066, allocations: 193.7 kB / 453.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.3066, allocations: 43.47 kB / 453.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.3067, allocations: 51.27 kB / 453.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3067, allocations: 4 kB / 453.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.3068, allocations: 4 kB / 453.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3068, allocations: 0 / 453.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007411/0.3075, allocations: 0.8544 MB / 454.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3075, allocations: 7.938 kB / 454.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.3078, allocations: 76.02 kB / 454.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3078, allocations: 4 kB / 454.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.3078, allocations: 11.98 kB / 454.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.3078, allocations: 4 kB / 454.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.3079, allocations: 4 kB / 454.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008783/0.3087, allocations: 490 kB / 454.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.3088, allocations: 116.6 kB / 454.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.3089, allocations: 15.98 kB / 454.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3091, allocations: 35.97 kB / 454.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.3092, allocations: 31.91 kB / 454.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.3092, allocations: 15.98 kB / 454.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.3095, allocations: 247.2 kB / 455.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3095, allocations: 4 kB / 455.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.3099, allocations: 95.83 kB / 455.2 MB, free: 12.2 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.0009307/0.3108, allocations: 462.9 kB / 455.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009253/0.3118, allocations: 435.9 kB / 456.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3118, allocations: 4.375 kB / 456.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.3123, allocations: 195.8 kB / 456.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.3128, allocations: 82.16 kB / 456.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.3142, allocations: 0.8228 MB / 457.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3146, allocations: 0.8076 MB / 458 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.3148, allocations: 95.19 kB / 458.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.315, allocations: 43.42 kB / 458.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.315, allocations: 0 / 458.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of Templates: time 0.008345/0.3233, allocations: 4.353 MB / 462.5 MB, free: 4.895 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) Environment - environmentSimulation: