Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.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_DFIG,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_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,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_DFIG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001216/0.001216, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.331/1.331, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1744/0.1744, allocations: 38.03 MB / 329.7 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 60.28 kB / 398.8 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09496/0.09622, allocations: 58.06 MB / 456.9 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01302/0.1093, allocations: 10.61 MB / 467.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.1201, allocations: 6.234 MB / 473.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.1214, allocations: 51.69 kB / 473.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01057/0.132, allocations: 5.5 MB / 479.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.1346, allocations: 1.077 MB / 480.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.1362, allocations: 0.6472 MB / 481 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003921/0.1402, allocations: 3.212 MB / 484.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.1416, allocations: 1.008 MB / 485.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.1434, allocations: 1.051 MB / 486.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.1454, allocations: 1.347 MB / 487.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.1457, allocations: 144 kB / 487.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008546/0.1466, allocations: 423.5 kB / 488.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007264/0.1473, allocations: 0.8494 MB / 489 MB, free: 7.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009642/0.1483, allocations: 0.9252 MB / 489.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.1503, allocations: 2.235 MB / 492.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1503, allocations: 0 / 492.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1503, allocations: 0 / 492.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.1503, allocations: 0 / 492.2 MB, free: 4.629 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003646/0.154, allocations: 2.059 MB / 494.2 MB, free: 2.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.154, allocations: 19.81 kB / 494.2 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.1555, allocations: 282.5 kB / 494.5 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.1575, allocations: 1.151 MB / 495.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/0.1576, allocations: 106.6 kB / 495.8 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00046/0.1581, allocations: 227.7 kB / 496 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.161, allocations: 2.103 MB / 498.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.1611, allocations: 7.938 kB / 498.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.1612, allocations: 59.98 kB / 498.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006503/0.1619, allocations: 178.7 kB / 498.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.1645, allocations: 1.713 MB / 0.4883 GB, free: 12.53 MB / 382.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.0103/0.1748, allocations: 7.957 MB / 0.4961 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.1771, allocations: 1.622 MB / 0.4977 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009827/0.1781, allocations: 0.6684 MB / 0.4983 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.656e-05/0.1782, allocations: 20.98 kB / 0.4983 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.1783, allocations: 43.56 kB / 0.4984 GB, free: 1.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.537e-06/0.1783, allocations: 0 / 0.4984 GB, free: 1.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.2068/0.3851, allocations: 5.073 MB / 0.5033 GB, free: 55.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3852, allocations: 98.98 kB / 0.5034 GB, free: 55.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.3864, allocations: 0.9415 MB / 0.5044 GB, free: 55.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-05/0.3865, allocations: 47.48 kB / 0.5044 GB, free: 55.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/0.3869, allocations: 0.7167 MB / 0.5051 GB, free: 54.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.3873, allocations: 0.5004 MB / 0.5056 GB, free: 54.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000557/0.3879, allocations: 309.5 kB / 0.5059 GB, free: 54.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.388, allocations: 303.1 kB / 0.5062 GB, free: 53.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.3893, allocations: 0.7046 MB / 0.5069 GB, free: 53.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.3909, allocations: 1.153 MB / 0.508 GB, free: 53.02 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.01099/0.4019, allocations: 4.104 MB / 0.512 GB, free: 51.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/0.4019, allocations: 3.906 kB / 0.512 GB, free: 51.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00728/0.4092, allocations: 3.355 MB / 0.5153 GB, free: 50.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.4092, allocations: 9.844 kB / 0.5153 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/0.4093, allocations: 14.25 kB / 0.5153 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/0.4123, allocations: 1.197 MB / 0.5165 GB, free: 50 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.4135, allocations: 299.7 kB / 0.5168 GB, free: 49.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/0.4284, allocations: 15.16 MB / 0.5316 GB, free: 39.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.4294, allocations: 71.94 kB / 0.5316 GB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.4295, allocations: 68 kB / 0.5317 GB, free: 39.01 MB / 382.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0007113/0.4303, allocations: 0.5026 MB / 0.5322 GB, free: 38.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.4304, allocations: 130.4 kB / 0.5323 GB, free: 38.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.433, allocations: 2.01 MB / 0.5343 GB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.433, allocations: 16 kB / 0.5343 GB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.433, allocations: 5.094 kB / 0.5343 GB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.433, allocations: 3.984 kB / 0.5343 GB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/0.4379, allocations: 3.771 MB / 0.538 GB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.4379, allocations: 4 kB / 0.538 GB, free: 32.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.4394, allocations: 332 kB / 0.5383 GB, free: 32.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.4398, allocations: 187.3 kB / 0.5385 GB, free: 31.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/0.4399, allocations: 43.98 kB / 0.5385 GB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/0.4434, allocations: 6.676 MB / 0.545 GB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4434, allocations: 4 kB / 0.545 GB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.4464, allocations: 2.717 MB / 0.5477 GB, free: 21.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005206/0.447, allocations: 323.2 kB / 0.548 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.4471, allocations: 47.97 kB / 0.5481 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/0.4478, allocations: 51.95 kB / 0.5481 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.448, allocations: 109 kB / 0.5482 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/0.448, allocations: 36 kB / 0.5482 GB, free: 21.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006259/0.4487, allocations: 0.6283 MB / 0.5489 GB, free: 20.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4487, allocations: 3.5 kB / 0.5489 GB, free: 20.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001633/0.4503, allocations: 480 kB / 0.5493 GB, free: 20.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,line.v[1,2],line.v[1,3],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,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,1,100.0%), (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.0001775/0.4505, allocations: 156.2 kB / 0.5495 GB, free: 19.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004687/0.4552, allocations: 3.501 MB / 0.5529 GB, free: 16.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4552, allocations: 0 / 0.5529 GB, free: 16.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.4566, allocations: 1.239 MB / 0.5541 GB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.4578, allocations: 331.5 kB / 0.5544 GB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/0.4634, allocations: 4.914 MB / 0.5592 GB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.4642, allocations: 1.527 MB / 0.5607 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009592/0.4651, allocations: 399.6 kB / 0.5611 GB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.4654, allocations: 99.44 kB / 0.5612 GB, free: 7.762 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4654, allocations: 4 kB / 0.5612 GB, free: 7.758 MB / 382.1 MB Notification: Performance of Templates: time 0.03651/0.5019, allocations: 24.76 MB / 0.5854 GB, free: 15.21 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1)