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.001373/0.001373, allocations: 109.1 kB / 16.51 MB, free: 6.707 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.001454/0.001454, allocations: 190.5 kB / 17.43 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1729/0.1729, allocations: 38.05 MB / 329.3 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 65.44 kB / 398.1 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1164, allocations: 58.05 MB / 456.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01497/0.1315, allocations: 12.64 MB / 468.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.144, allocations: 7.031 MB / 475.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.147, allocations: 95.44 kB / 475.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01364/0.1606, allocations: 5.378 MB / 481.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.164, allocations: 1.012 MB / 482.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.1661, allocations: 0.5811 MB / 482.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005946/0.172, allocations: 4.722 MB / 487.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.1739, allocations: 0.8989 MB / 488.5 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.176, allocations: 0.914 MB / 489.4 MB, free: 7.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.1789, allocations: 1.421 MB / 490.8 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005745/0.1795, allocations: 92 kB / 490.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.181, allocations: 387.4 kB / 491.3 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.1823, allocations: 0.8026 MB / 492.1 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.1841, allocations: 0.8705 MB / 493 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003258/0.1874, allocations: 2.18 MB / 495.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1874, allocations: 3.938 kB / 495.2 MB, free: 1.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.648e-06/0.1874, allocations: 4 kB / 495.2 MB, free: 1.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001038/0.1875, allocations: 3.938 kB / 495.2 MB, free: 1.352 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.00658/0.1941, allocations: 2.056 MB / 497.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.1942, allocations: 12.03 kB / 497.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.1959, allocations: 274.5 kB / 497.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.1984, allocations: 1.155 MB / 498.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.962e-05/0.1985, allocations: 98.62 kB / 498.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/0.199, allocations: 227.7 kB / 499 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003266/0.2023, allocations: 2.107 MB / 0.4893 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/0.2024, allocations: 11.94 kB / 0.4894 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.2025, allocations: 59.92 kB / 0.4894 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006367/0.2032, allocations: 178.7 kB / 0.4896 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.2063, allocations: 1.713 MB / 0.4913 GB, free: 9.262 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.01247/0.2187, allocations: 7.965 MB / 0.499 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2334/0.4522, allocations: 1.618 MB / 0.5006 GB, free: 56.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.4535, allocations: 0.6691 MB / 0.5013 GB, free: 56.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.715e-05/0.4536, allocations: 17.95 kB / 0.5013 GB, free: 56.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.4537, allocations: 48.72 kB / 0.5013 GB, free: 56.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.867e-06/0.4537, allocations: 0 / 0.5013 GB, free: 56.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.008809/0.4625, allocations: 5.081 MB / 0.5063 GB, free: 54.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.4626, allocations: 97.02 kB / 0.5064 GB, free: 54.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.4638, allocations: 0.9384 MB / 0.5073 GB, free: 53.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-05/0.4639, allocations: 47.33 kB / 0.5073 GB, free: 53.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.4643, allocations: 0.7162 MB / 0.508 GB, free: 53.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.4647, allocations: 0.4992 MB / 0.5085 GB, free: 52.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004589/0.4651, allocations: 316.8 kB / 0.5088 GB, free: 52.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.455e-05/0.4652, allocations: 305.9 kB / 0.5091 GB, free: 52.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.4663, allocations: 0.7071 MB / 0.5098 GB, free: 52.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.4677, allocations: 1.149 MB / 0.5109 GB, free: 51.29 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.01115/0.4788, allocations: 4.08 MB / 0.5149 GB, free: 49.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-05/0.4789, allocations: 4.281 kB / 0.5149 GB, free: 49.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007583/0.4865, allocations: 3.345 MB / 0.5182 GB, free: 48.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.4865, allocations: 11.61 kB / 0.5182 GB, free: 48.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-05/0.4866, allocations: 14.84 kB / 0.5182 GB, free: 48.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/0.4896, allocations: 1.199 MB / 0.5194 GB, free: 48.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.4908, allocations: 297.3 kB / 0.5197 GB, free: 48.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/0.5053, allocations: 13.81 MB / 0.5332 GB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.5065, allocations: 67.95 kB / 0.5332 GB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.5067, allocations: 71.98 kB / 0.5333 GB, free: 37.3 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.0009255/0.5076, allocations: 0.4954 MB / 0.5338 GB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.5078, allocations: 130.4 kB / 0.5339 GB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.5106, allocations: 2.014 MB / 0.5359 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.5106, allocations: 16 kB / 0.5359 GB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5106, allocations: 8 kB / 0.5359 GB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.5107, allocations: 11.91 kB / 0.5359 GB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/0.5158, allocations: 3.762 MB / 0.5396 GB, free: 30.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.5159, allocations: 0 / 0.5396 GB, free: 30.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.5175, allocations: 336.7 kB / 0.5399 GB, free: 30.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.518, allocations: 185.7 kB / 0.5401 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.5181, allocations: 47.98 kB / 0.5401 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003626/0.5218, allocations: 6.15 MB / 0.5461 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5218, allocations: 7.984 kB / 0.5461 GB, free: 23.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.5252, allocations: 2.717 MB / 0.5488 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.5258, allocations: 311.3 kB / 0.5491 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.5259, allocations: 51.92 kB / 0.5491 GB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007078/0.5267, allocations: 51.95 kB / 0.5492 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.5269, allocations: 101 kB / 0.5493 GB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.54e-05/0.527, allocations: 48 kB / 0.5493 GB, free: 19.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007039/0.5277, allocations: 0.621 MB / 0.5499 GB, free: 19.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5277, allocations: 0 / 0.5499 GB, free: 19.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001848/0.5296, allocations: 488 kB / 0.5504 GB, free: 18.88 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.0002044/0.5298, allocations: 162.9 kB / 0.5506 GB, free: 18.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.5339, allocations: 2.666 MB / 0.5532 GB, free: 16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5339, allocations: 0 / 0.5532 GB, free: 16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.5354, allocations: 1.245 MB / 0.5544 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.5369, allocations: 301 kB / 0.5547 GB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/0.5439, allocations: 5.579 MB / 0.5601 GB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.545, allocations: 1.525 MB / 0.5616 GB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001258/0.5462, allocations: 399.6 kB / 0.562 GB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.5466, allocations: 99.42 kB / 0.5621 GB, free: 6.777 MB / 382.1 MB Notification: Performance of SimCode: time 1.914e-06/0.5466, allocations: 0 / 0.5621 GB, free: 6.777 MB / 382.1 MB Notification: Performance of Templates: time 0.04512/0.5917, allocations: 23.59 MB / 0.5851 GB, free: 15.37 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)