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.0007339/0.0007339, allocations: 89.8 kB / 16.65 MB, free: 6.535 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.0008083/0.0008083, allocations: 175.2 kB / 17.56 MB, free: 6.18 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.268/1.268, allocations: 223.3 MB / 241.6 MB, free: 14.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1656/0.1656, allocations: 38.09 MB / 330.8 MB, free: 8.504 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 8 kB / 400.7 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1055, allocations: 59.17 MB / 459.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.0112/0.1167, allocations: 12.1 MB / 472 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.1286, allocations: 6.918 MB / 478.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.1307, allocations: 87.44 kB / 479 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008424/0.1392, allocations: 4.865 MB / 483.8 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002951/0.1421, allocations: 1.008 MB / 484.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.1437, allocations: 0.5811 MB / 485.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005237/0.149, allocations: 4.718 MB / 490.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.1511, allocations: 1.313 MB / 491.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.1527, allocations: 0.8594 MB / 492.3 MB, free: 6.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.1545, allocations: 1.37 MB / 493.7 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.1547, allocations: 76 kB / 493.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007683/0.1555, allocations: 363.5 kB / 494.1 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006719/0.1562, allocations: 0.783 MB / 494.9 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007872/0.157, allocations: 0.8565 MB / 495.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.1589, allocations: 2.141 MB / 497.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1589, allocations: 0 / 497.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1589, allocations: 0 / 497.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.159, allocations: 0 / 497.9 MB, free: 0.8242 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.003417/0.1624, allocations: 1.748 MB / 499.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1624, allocations: 8.031 kB / 499.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.1638, allocations: 278.5 kB / 499.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.1658, allocations: 1.159 MB / 0.4893 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.791e-05/0.1659, allocations: 102.6 kB / 0.4894 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004748/0.1664, allocations: 219.8 kB / 0.4897 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.1693, allocations: 2.111 MB / 0.4917 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.1694, allocations: 7.938 kB / 0.4917 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.1695, allocations: 55.98 kB / 0.4918 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006237/0.1701, allocations: 182.7 kB / 0.492 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.1726, allocations: 1.721 MB / 0.4936 GB, free: 9.035 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.00993/0.1826, allocations: 7.988 MB / 0.5014 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2258/0.4084, allocations: 1.617 MB / 0.503 GB, free: 34.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.4097, allocations: 0.6652 MB / 0.5037 GB, free: 34.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.672e-05/0.4098, allocations: 18.91 kB / 0.5037 GB, free: 34.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.4098, allocations: 45.97 kB / 0.5037 GB, free: 34.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 5.871e-06/0.4099, allocations: 2.5 kB / 0.5037 GB, free: 34.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.00904/0.4189, allocations: 5.12 MB / 0.5087 GB, free: 33.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.419, allocations: 96.91 kB / 0.5088 GB, free: 32.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.4203, allocations: 0.9358 MB / 0.5097 GB, free: 32.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-05/0.4204, allocations: 49.83 kB / 0.5098 GB, free: 32.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/0.4209, allocations: 0.716 MB / 0.5105 GB, free: 32.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.4213, allocations: 0.5012 MB / 0.511 GB, free: 32.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.4215, allocations: 152.6 kB / 0.5111 GB, free: 32.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.201e-05/0.4216, allocations: 304.1 kB / 0.5114 GB, free: 31.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.4228, allocations: 0.7086 MB / 0.5121 GB, free: 31.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.4242, allocations: 1.162 MB / 0.5132 GB, free: 31.32 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.01023/0.4344, allocations: 4.107 MB / 0.5172 GB, free: 30.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/0.4344, allocations: 2.812 kB / 0.5172 GB, free: 30.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007882/0.4423, allocations: 3.369 MB / 0.5205 GB, free: 30.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.4424, allocations: 15.56 kB / 0.5205 GB, free: 30.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.133e-05/0.4425, allocations: 14.16 kB / 0.5206 GB, free: 30.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004295/0.4468, allocations: 1.196 MB / 0.5217 GB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.4486, allocations: 299.4 kB / 0.522 GB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/0.471, allocations: 13.83 MB / 0.5355 GB, free: 21.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.473, allocations: 84.8 kB / 0.5356 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.4732, allocations: 70.53 kB / 0.5357 GB, free: 21.77 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 sytem: 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.001173/0.4743, allocations: 0.4924 MB / 0.5362 GB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.4746, allocations: 131 kB / 0.5363 GB, free: 21.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.4784, allocations: 2.027 MB / 0.5383 GB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.4784, allocations: 16 kB / 0.5383 GB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4784, allocations: 5.672 kB / 0.5383 GB, free: 19.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.4784, allocations: 7.984 kB / 0.5383 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007225/0.4857, allocations: 3.783 MB / 0.542 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.4857, allocations: 5.438 kB / 0.542 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/0.4879, allocations: 329.6 kB / 0.5423 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006166/0.4885, allocations: 193.2 kB / 0.5425 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.4886, allocations: 43.98 kB / 0.5425 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/0.4934, allocations: 6.149 MB / 0.5485 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.4934, allocations: 6.406 kB / 0.5485 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/0.4976, allocations: 2.73 MB / 0.5512 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005994/0.4982, allocations: 331.2 kB / 0.5515 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.4984, allocations: 39.98 kB / 0.5516 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006428/0.499, allocations: 60.05 kB / 0.5516 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.4992, allocations: 104.5 kB / 0.5517 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.697e-05/0.4993, allocations: 44 kB / 0.5518 GB, free: 4.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006518/0.5, allocations: 0.6244 MB / 0.5524 GB, free: 4.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5, allocations: 0 / 0.5524 GB, free: 4.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001695/0.5017, allocations: 488 kB / 0.5528 GB, free: 3.773 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.000237/0.5019, allocations: 153.7 kB / 0.553 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004044/0.506, allocations: 2.674 MB / 0.5556 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.506, allocations: 0 / 0.5556 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.5075, allocations: 1.255 MB / 0.5568 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.5095, allocations: 303.5 kB / 0.5571 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007877/0.5174, allocations: 5.973 MB / 0.5629 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.5187, allocations: 1.526 MB / 0.5644 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001213/0.5199, allocations: 399.6 kB / 0.5648 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/0.5202, allocations: 99.42 kB / 0.5649 GB, free: 7.312 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5202, allocations: 0 / 0.5649 GB, free: 7.312 MB / 398.1 MB Notification: Performance of Templates: time 0.03518/0.5554, allocations: 23.19 MB / 0.5876 GB, free: 384 kB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: