Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 103.6 kB / 16.51 MB, free: 6.645 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.001143/0.001143, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1759/0.1759, allocations: 38.03 MB / 329.3 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.94 kB / 398.1 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09844, allocations: 58.07 MB / 456.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01003/0.1085, allocations: 9.321 MB / 465.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009289/0.1178, allocations: 6.03 MB / 471.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008006/0.1187, allocations: 51.69 kB / 471.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.1288, allocations: 5.126 MB / 476.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.1309, allocations: 0.7939 MB / 477.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.1323, allocations: 451.2 kB / 477.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004459/0.1368, allocations: 3.763 MB / 481.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.1381, allocations: 0.5752 MB / 482.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.1394, allocations: 0.6457 MB / 482.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.1412, allocations: 1.09 MB / 484 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003421/0.1416, allocations: 68 kB / 484.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009521/0.1425, allocations: 347.5 kB / 484.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008164/0.1434, allocations: 0.6272 MB / 485 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.1445, allocations: 0.6413 MB / 485.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.1466, allocations: 1.667 MB / 487.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1466, allocations: 0 / 487.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1466, allocations: 3.938 kB / 487.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.737e-05/0.1467, allocations: 0 / 487.3 MB, free: 9.242 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003685/0.1503, allocations: 1.597 MB / 488.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1504, allocations: 8.031 kB / 488.9 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.1517, allocations: 219.1 kB / 489.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.1536, allocations: 0.9217 MB / 490.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.1537, allocations: 69.98 kB / 490.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.1541, allocations: 179.8 kB / 490.3 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.1564, allocations: 1.564 MB / 491.9 MB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.1564, allocations: 11.92 kB / 491.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.1565, allocations: 39.98 kB / 491.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000581/0.1571, allocations: 145.9 kB / 492.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.1592, allocations: 1.249 MB / 493.3 MB, free: 3.062 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008497/0.1677, allocations: 6.501 MB / 499.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.1692, allocations: 0.9088 MB / 0.489 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007754/0.17, allocations: 0.5122 MB / 0.4895 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.016e-05/0.1701, allocations: 12.98 kB / 0.4895 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.1701, allocations: 43.56 kB / 0.4895 GB, free: 10.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.256e-06/0.1702, allocations: 0 / 0.4895 GB, free: 10.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.00658/0.1767, allocations: 3.667 MB / 0.4931 GB, free: 6.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.1768, allocations: 94.05 kB / 0.4932 GB, free: 6.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007811/0.1776, allocations: 0.7234 MB / 0.4939 GB, free: 6.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.1777, allocations: 41.7 kB / 0.494 GB, free: 5.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.178, allocations: 0.5574 MB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.1783, allocations: 370.8 kB / 0.4949 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/0.1787, allocations: 230.8 kB / 0.4951 GB, free: 4.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.1789, allocations: 414.7 kB / 0.4955 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008883/0.1798, allocations: 0.5647 MB / 0.496 GB, free: 3.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.1809, allocations: 0.8854 MB / 0.4969 GB, free: 2.805 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.1944/0.3753, allocations: 3.231 MB / 0.5 GB, free: 56.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.3753, allocations: 4.344 kB / 0.5001 GB, free: 56.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006022/0.3814, allocations: 2.732 MB / 0.5027 GB, free: 55.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.3814, allocations: 11.88 kB / 0.5027 GB, free: 55.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.48e-05/0.3815, allocations: 9.719 kB / 0.5027 GB, free: 55.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/0.3849, allocations: 1.156 MB / 0.5039 GB, free: 55.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009381/0.3859, allocations: 199.2 kB / 0.5041 GB, free: 55.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/0.4028, allocations: 11.23 MB / 0.515 GB, free: 50.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/0.4038, allocations: 53.06 kB / 0.5151 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.4039, allocations: 57.97 kB / 0.5151 GB, free: 50.22 MB / 382.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.000628/0.4045, allocations: 400.9 kB / 0.5155 GB, free: 50 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.4047, allocations: 95.09 kB / 0.5156 GB, free: 50 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.4069, allocations: 1.415 MB / 0.517 GB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.4069, allocations: 11.97 kB / 0.517 GB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4069, allocations: 1.5 kB / 0.517 GB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.4069, allocations: 4.969 kB / 0.517 GB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.4108, allocations: 2.666 MB / 0.5196 GB, free: 48.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4108, allocations: 0 / 0.5196 GB, free: 48.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/0.4123, allocations: 272.2 kB / 0.5199 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000151/0.4124, allocations: 53.22 kB / 0.5199 GB, free: 48.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-05/0.4125, allocations: 46.66 kB / 0.52 GB, free: 48.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.4138, allocations: 2.637 MB / 0.5225 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4138, allocations: 2.312 kB / 0.5225 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.4162, allocations: 1.892 MB / 0.5244 GB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.4166, allocations: 252.7 kB / 0.5246 GB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.4167, allocations: 42.78 kB / 0.5247 GB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.4173, allocations: 43.3 kB / 0.5247 GB, free: 44.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.4174, allocations: 63.45 kB / 0.5248 GB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.4175, allocations: 30.95 kB / 0.5248 GB, free: 44.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004775/0.418, allocations: 497.9 kB / 0.5253 GB, free: 43.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.418, allocations: 0 / 0.5253 GB, free: 43.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001212/0.4192, allocations: 381.7 kB / 0.5256 GB, free: 43.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001487/0.4194, allocations: 157.2 kB / 0.5258 GB, free: 43.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003027/0.4224, allocations: 2.058 MB / 0.5278 GB, free: 42.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4224, allocations: 1.312 kB / 0.5278 GB, free: 42.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008507/0.4233, allocations: 0.7595 MB / 0.5285 GB, free: 42.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009024/0.4242, allocations: 201.1 kB / 0.5287 GB, free: 42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.4289, allocations: 4.545 MB / 0.5332 GB, free: 37.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.4295, allocations: 1.298 MB / 0.5344 GB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007677/0.4302, allocations: 316 kB / 0.5347 GB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.4305, allocations: 71.44 kB / 0.5348 GB, free: 35.83 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4305, allocations: 0 / 0.5348 GB, free: 35.83 MB / 382.1 MB Notification: Performance of Templates: time 0.02126/0.4518, allocations: 18.21 MB / 0.5526 GB, free: 17.76 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)