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.001306/0.001307, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001369/0.001369, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1669/0.1669, allocations: 38.04 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 59.89 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3166, allocations: 58.05 MB / 0.5048 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01156/0.3282, allocations: 10.61 MB / 0.5151 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.3396, allocations: 6.236 MB / 0.5212 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.3411, allocations: 52.53 kB / 0.5213 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01246/0.3536, allocations: 5.513 MB / 0.5266 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00372/0.3573, allocations: 1.068 MB / 0.5277 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.3595, allocations: 0.6475 MB / 0.5283 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005078/0.3646, allocations: 3.219 MB / 0.5315 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.3659, allocations: 1.008 MB / 0.5324 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.3676, allocations: 1.071 MB / 0.5335 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002427/0.37, allocations: 1.351 MB / 0.5348 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006746/0.3707, allocations: 143.9 kB / 0.5349 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.3722, allocations: 421.2 kB / 0.5353 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009598/0.3732, allocations: 0.8466 MB / 0.5362 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.3743, allocations: 0.9329 MB / 0.5371 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00329/0.3776, allocations: 2.266 MB / 0.5393 GB, free: 3.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3776, allocations: 0 / 0.5393 GB, free: 3.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3777, allocations: 0 / 0.5393 GB, free: 3.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.476e-05/0.3777, allocations: 0 / 0.5393 GB, free: 3.223 MB / 398.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.004506/0.3822, allocations: 2.061 MB / 0.5413 GB, free: 1.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3823, allocations: 17.17 kB / 0.5413 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.3838, allocations: 277.6 kB / 0.5416 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.3864, allocations: 1.213 MB / 0.5428 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-05/0.3864, allocations: 100.6 kB / 0.5429 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004998/0.3869, allocations: 225.3 kB / 0.5431 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/0.3901, allocations: 2.1 MB / 0.5451 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/0.3902, allocations: 11.84 kB / 0.5451 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.3903, allocations: 59.97 kB / 0.5452 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005967/0.3909, allocations: 186.6 kB / 0.5454 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/0.3936, allocations: 1.705 MB / 0.547 GB, free: 13.22 MB / 414.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.01029/0.404, allocations: 7.899 MB / 0.5548 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.4062, allocations: 1.635 MB / 0.5564 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009452/0.4071, allocations: 0.6606 MB / 0.557 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-05/0.4072, allocations: 24.91 kB / 0.557 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.4073, allocations: 43.56 kB / 0.5571 GB, free: 2.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 3.297e-06/0.4073, allocations: 0 / 0.5571 GB, free: 2.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=138): time 0.008898/0.4162, allocations: 5.084 MB / 0.562 GB, free: 13.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.4162, allocations: 94.42 kB / 0.5621 GB, free: 13.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.4173, allocations: 0.9347 MB / 0.563 GB, free: 12.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.549e-05/0.4174, allocations: 49.7 kB / 0.5631 GB, free: 12.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.4179, allocations: 0.721 MB / 0.5638 GB, free: 11.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.4183, allocations: 0.4929 MB / 0.5643 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004393/0.4188, allocations: 315.3 kB / 0.5646 GB, free: 10.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.4189, allocations: 305.1 kB / 0.5649 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.4199, allocations: 0.6988 MB / 0.5655 GB, free: 9.574 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.4213, allocations: 1.155 MB / 0.5667 GB, free: 8.234 MB / 430.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.009531/0.4309, allocations: 4.074 MB / 0.5707 GB, free: 3.992 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.4309, allocations: 8 kB / 0.5707 GB, free: 3.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006412/0.4373, allocations: 3.347 MB / 0.5739 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.4373, allocations: 12 kB / 0.5739 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.4374, allocations: 12 kB / 0.5739 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/0.4404, allocations: 1.209 MB / 0.5751 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.4415, allocations: 303.5 kB / 0.5754 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/0.4607, allocations: 15.11 MB / 0.5902 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.4619, allocations: 75.95 kB / 0.5903 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.4621, allocations: 83.91 kB / 0.5903 GB, free: 15.2 MB / 462.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.0009712/0.4631, allocations: 0.495 MB / 0.5908 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.4634, allocations: 130.4 kB / 0.5909 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.4666, allocations: 2.018 MB / 0.5929 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.4666, allocations: 11.97 kB / 0.5929 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4667, allocations: 4 kB / 0.5929 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007275/0.4674, allocations: 319.3 kB / 0.5932 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.4677, allocations: 43.92 kB / 0.5933 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/0.4685, allocations: 51.94 kB / 0.5933 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.4687, allocations: 97.11 kB / 0.5934 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005262/0.474, allocations: 2.346 MB / 0.5957 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003782/0.4778, allocations: 2.647 MB / 0.5983 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001009/0.4788, allocations: 0.748 MB / 0.599 GB, free: 6.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009606/0.4797, allocations: 0.6283 MB / 0.5996 GB, free: 5.516 MB / 462.1 MB Notification: Performance of Backend: time 3.4e-07/0.4798, allocations: 0 / 0.5996 GB, free: 5.516 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004732/0.4845, allocations: 2.395 MB / 0.602 GB, free: 3.062 MB / 462.1 MB Notification: Performance of SimCode: time 0.006925/0.4914, allocations: 5.009 MB / 0.6069 GB, free: 14 MB / 478.1 MB Notification: Performance of Templates: time 0.04788/0.5393, allocations: 28.45 MB / 0.6346 GB, free: 1.727 MB / 494.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)