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.0008137/0.0008138, allocations: 93.61 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.0008747/0.0008749, allocations: 184.3 kB / 17.56 MB, free: 6.203 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.302/1.302, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1751/0.1751, allocations: 38.08 MB / 330.8 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 8 kB / 400.7 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1111, allocations: 59.16 MB / 459.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.009149/0.1203, allocations: 8.853 MB / 468.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008538/0.1289, allocations: 5.933 MB / 474.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.13, allocations: 47.69 kB / 474.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008743/0.1388, allocations: 4.722 MB / 479.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.141, allocations: 0.8017 MB / 480.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1423, allocations: 455.3 kB / 480.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004232/0.1465, allocations: 3.747 MB / 484.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.1483, allocations: 0.915 MB / 485.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.1496, allocations: 0.6183 MB / 486 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.1514, allocations: 1.059 MB / 487 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003119/0.1518, allocations: 56 kB / 487.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009076/0.1527, allocations: 323.5 kB / 487.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007387/0.1534, allocations: 0.6155 MB / 488 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.1545, allocations: 0.6429 MB / 488.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.1564, allocations: 1.643 MB / 490.3 MB, free: 8.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1564, allocations: 0 / 490.3 MB, free: 8.512 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1564, allocations: 0 / 490.3 MB, free: 8.512 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.179e-05/0.1565, allocations: 0 / 490.3 MB, free: 8.512 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.003103/0.1596, allocations: 1.367 MB / 491.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1596, allocations: 12.03 kB / 491.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.1609, allocations: 211.1 kB / 491.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.1628, allocations: 0.9295 MB / 492.8 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.1629, allocations: 69.98 kB / 492.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004894/0.1634, allocations: 179.8 kB / 493 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.1658, allocations: 1.571 MB / 494.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.1659, allocations: 11.78 kB / 494.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.166, allocations: 43.98 kB / 494.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005997/0.1666, allocations: 145.9 kB / 494.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.1688, allocations: 1.265 MB / 496.1 MB, free: 2.531 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.009248/0.1781, allocations: 6.501 MB / 0.4908 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.1797, allocations: 0.9217 MB / 0.4917 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007889/0.1805, allocations: 0.5122 MB / 0.4922 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-05/0.1806, allocations: 16.98 kB / 0.4922 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1806, allocations: 39.56 kB / 0.4923 GB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.685e-06/0.1806, allocations: 4 kB / 0.4923 GB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.006581/0.1872, allocations: 3.698 MB / 0.4959 GB, free: 6.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1873, allocations: 90.05 kB / 0.496 GB, free: 6.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.1882, allocations: 0.7351 MB / 0.4967 GB, free: 5.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/0.1883, allocations: 41.7 kB / 0.4967 GB, free: 5.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.1886, allocations: 0.5535 MB / 0.4973 GB, free: 4.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.1889, allocations: 366.8 kB / 0.4976 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.1891, allocations: 117.7 kB / 0.4977 GB, free: 4.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1893, allocations: 410.7 kB / 0.4981 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008744/0.1902, allocations: 0.5726 MB / 0.4987 GB, free: 3.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.1913, allocations: 0.8893 MB / 0.4995 GB, free: 2.328 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.2328/0.4241, allocations: 3.26 MB / 0.5027 GB, free: 54.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.4242, allocations: 3.344 kB / 0.5027 GB, free: 54.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006221/0.4304, allocations: 2.748 MB / 0.5054 GB, free: 54.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.4305, allocations: 9.5 kB / 0.5054 GB, free: 54.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.4305, allocations: 9.844 kB / 0.5054 GB, free: 54.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003282/0.4338, allocations: 1.152 MB / 0.5065 GB, free: 54.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008611/0.4347, allocations: 205.4 kB / 0.5067 GB, free: 54.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/0.4514, allocations: 11.24 MB / 0.5177 GB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009369/0.4524, allocations: 63.98 kB / 0.5178 GB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.4525, allocations: 50.66 kB / 0.5178 GB, free: 49.19 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 sytem: $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.0006588/0.4532, allocations: 401.8 kB / 0.5182 GB, free: 48.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.4533, allocations: 98.06 kB / 0.5183 GB, free: 48.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.4552, allocations: 1.413 MB / 0.5197 GB, free: 48.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4552, allocations: 13.97 kB / 0.5197 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.4553, allocations: 1.281 kB / 0.5197 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.4553, allocations: 10.89 kB / 0.5197 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/0.4592, allocations: 2.688 MB / 0.5223 GB, free: 47.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4592, allocations: 8 kB / 0.5223 GB, free: 47.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.4605, allocations: 278.3 kB / 0.5226 GB, free: 47.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/0.4607, allocations: 55.78 kB / 0.5227 GB, free: 46.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/0.4608, allocations: 42.75 kB / 0.5227 GB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.462, allocations: 2.629 MB / 0.5253 GB, free: 44.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.462, allocations: 7.812 kB / 0.5253 GB, free: 44.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.4642, allocations: 1.904 MB / 0.5271 GB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.4645, allocations: 257.8 kB / 0.5274 GB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.4646, allocations: 37.98 kB / 0.5274 GB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.4651, allocations: 46.08 kB / 0.5275 GB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.4652, allocations: 74.34 kB / 0.5275 GB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.4653, allocations: 22.41 kB / 0.5276 GB, free: 42.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004554/0.4658, allocations: 0.4902 MB / 0.528 GB, free: 42.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4658, allocations: 0 / 0.528 GB, free: 42.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00118/0.4669, allocations: 377.1 kB / 0.5284 GB, free: 42.61 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.0001625/0.4671, allocations: 146.6 kB / 0.5285 GB, free: 42.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00302/0.4701, allocations: 2.064 MB / 0.5305 GB, free: 40.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4702, allocations: 0 / 0.5305 GB, free: 40.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008443/0.471, allocations: 0.766 MB / 0.5313 GB, free: 39.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.4721, allocations: 210.7 kB / 0.5315 GB, free: 39.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/0.4771, allocations: 4.937 MB / 0.5363 GB, free: 34.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.4778, allocations: 1.302 MB / 0.5376 GB, free: 33.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008164/0.4786, allocations: 316 kB / 0.5379 GB, free: 33.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.4789, allocations: 75.42 kB / 0.538 GB, free: 33.02 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4789, allocations: 0 / 0.538 GB, free: 33.02 MB / 382.1 MB Notification: Performance of Templates: time 0.02222/0.5011, allocations: 17.86 MB / 0.5554 GB, free: 15.29 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: