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.001415/0.001415, allocations: 112.9 kB / 17.69 MB, free: 5.309 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.001638/0.001638, allocations: 192 kB / 18.63 MB, free: 4.375 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.326/1.326, allocations: 205.1 MB / 224.5 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1771/0.1771, allocations: 38 MB / 309.8 MB, free: 5.992 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.001441/0.001441, allocations: 75.36 kB / 376.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.212, allocations: 55.25 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004375/0.2164, allocations: 4.248 MB / 436.3 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.2188, allocations: 2.431 MB / 438.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.219, allocations: 15.88 kB / 438.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009078/0.22, allocations: 348.8 kB / 439.1 MB, free: 12.45 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.0005416/0.2205, allocations: 338.6 kB / 439.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.2211, allocations: 355 kB / 439.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004603/0.2216, allocations: 0.6195 MB / 440.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.2219, allocations: 230.1 kB / 440.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.2222, allocations: 255 kB / 440.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.2224, allocations: 247 kB / 441.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.2225, allocations: 40 kB / 441.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005367/0.223, allocations: 0.5378 MB / 441.6 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.2231, allocations: 135.6 kB / 441.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.2233, allocations: 202.9 kB / 442 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.2238, allocations: 0.6895 MB / 442.7 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2238, allocations: 0 / 442.7 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2238, allocations: 0 / 442.7 MB, free: 8.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.2238, allocations: 0 / 442.7 MB, free: 8.832 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.001011/0.2249, allocations: 0.7706 MB / 443.4 MB, free: 8.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2249, allocations: 15.89 kB / 443.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009749/0.2259, allocations: 112.4 kB / 443.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.2264, allocations: 431.5 kB / 444 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2264, allocations: 20.94 kB / 444 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.2265, allocations: 28.11 kB / 444 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/0.2271, allocations: 457.2 kB / 444.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2271, allocations: 0 / 444.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.2272, allocations: 12 kB / 444.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.2272, allocations: 20.42 kB / 444.5 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.228, allocations: 489.2 kB / 445 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.2295, allocations: 1.775 MB / 446.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008513/0.2304, allocations: 373.2 kB / 447.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.2307, allocations: 141.6 kB / 447.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.2307, allocations: 15.92 kB / 447.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004495/0.2312, allocations: 277.2 kB / 447.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.2312, allocations: 0 / 447.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001078/0.2323, allocations: 0.5088 MB / 448.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.2324, allocations: 255.5 kB / 448.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.2326, allocations: 361.5 kB / 448.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.2327, allocations: 33.7 kB / 448.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.2328, allocations: 204.3 kB / 448.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.2328, allocations: 102.6 kB / 449 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-05/0.2329, allocations: 69.69 kB / 449.1 MB, free: 2.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.233, allocations: 346.8 kB / 449.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.2333, allocations: 148.3 kB / 449.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.2336, allocations: 286.8 kB / 449.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.2343, allocations: 461.6 kB / 450.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2343, allocations: 0 / 450.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008085/0.2351, allocations: 0.5219 MB / 450.8 MB, free: 172 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.2351, allocations: 37.7 kB / 450.8 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2351, allocations: 4 kB / 450.8 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2352, allocations: 7.938 kB / 450.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.2355, allocations: 91.81 kB / 450.9 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.2355, allocations: 8 kB / 450.9 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.2358, allocations: 56.03 kB / 451 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.2358, allocations: 20 kB / 451 MB, free: 15.94 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.0002438/0.2361, allocations: 193.6 kB / 451.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.2361, allocations: 47.45 kB / 451.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.07e-05/0.2362, allocations: 47.27 kB / 451.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2362, allocations: 4 kB / 451.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.2363, allocations: 8 kB / 451.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2363, allocations: 3.984 kB / 451.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.237, allocations: 0.8584 MB / 452.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.237, allocations: 4 kB / 452.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.2373, allocations: 59.89 kB / 452.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.2373, allocations: 8.125 kB / 452.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.2373, allocations: 8 kB / 452.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2374, allocations: 4 kB / 452.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2374, allocations: 0 / 452.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009237/0.2383, allocations: 457.5 kB / 452.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/0.2384, allocations: 120.6 kB / 452.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.2385, allocations: 8 kB / 452.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2387, allocations: 27.97 kB / 452.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2388, allocations: 39.84 kB / 452.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.2388, allocations: 19.98 kB / 452.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002527/0.2391, allocations: 247.2 kB / 453.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2391, allocations: 0 / 453.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.2395, allocations: 99.83 kB / 453.3 MB, free: 13.57 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.001063/0.2406, allocations: 461.5 kB / 453.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008932/0.2415, allocations: 416.4 kB / 454.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2415, allocations: 0 / 454.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.2419, allocations: 191.8 kB / 454.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.2424, allocations: 73.97 kB / 454.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.2435, allocations: 0.7045 MB / 455.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.2439, allocations: 0.8073 MB / 455.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.2441, allocations: 91.2 kB / 456 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.2443, allocations: 51.36 kB / 456 MB, free: 10.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2443, allocations: 0 / 456 MB, free: 10.77 MB / 334.1 MB Notification: Performance of Templates: time 0.008319/0.2526, allocations: 4.668 MB / 460.7 MB, free: 6.102 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 gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)