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.001235/0.001235, allocations: 106 kB / 17.06 MB, free: 6.016 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.001404/0.001404, allocations: 195 kB / 18 MB, free: 5.094 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.399/1.399, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1766/0.1766, allocations: 38.05 MB / 329.9 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.88 kB / 458.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4499, allocations: 58.05 MB / 0.5041 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01123/0.4612, allocations: 10.6 MB / 0.5144 GB, free: 348 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.4737, allocations: 6.233 MB / 0.5205 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.4754, allocations: 47.91 kB / 0.5206 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01483/0.4902, allocations: 5.519 MB / 0.526 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005598/0.4958, allocations: 1.074 MB / 0.527 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.4986, allocations: 0.6461 MB / 0.5276 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008964/0.5075, allocations: 3.214 MB / 0.5308 GB, free: 7.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.5095, allocations: 1.009 MB / 0.5318 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.513, allocations: 1.071 MB / 0.5328 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003277/0.5163, allocations: 1.347 MB / 0.5341 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003983/0.5167, allocations: 144.8 kB / 0.5343 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.5181, allocations: 428.8 kB / 0.5347 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.5192, allocations: 0.847 MB / 0.5355 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.5205, allocations: 0.9251 MB / 0.5364 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003411/0.5239, allocations: 2.261 MB / 0.5386 GB, free: 3.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5239, allocations: 4 kB / 0.5386 GB, free: 3.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.524, allocations: 1.688 kB / 0.5386 GB, free: 3.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.114e-05/0.524, allocations: 0 / 0.5386 GB, free: 3.031 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.004317/0.5283, allocations: 2.064 MB / 0.5406 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5284, allocations: 14.39 kB / 0.5406 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.5299, allocations: 273.7 kB / 0.5409 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.5325, allocations: 1.212 MB / 0.5421 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.63e-05/0.5326, allocations: 105.6 kB / 0.5422 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004978/0.5331, allocations: 225.3 kB / 0.5424 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003152/0.5362, allocations: 2.102 MB / 0.5445 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/0.5363, allocations: 11.84 kB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.5364, allocations: 59.92 kB / 0.5445 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006403/0.5371, allocations: 194.6 kB / 0.5447 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/0.5397, allocations: 1.701 MB / 0.5464 GB, free: 13.08 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.01152/0.5513, allocations: 7.895 MB / 0.5541 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/0.5536, allocations: 1.631 MB / 0.5557 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.5546, allocations: 0.6645 MB / 0.5563 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.077e-05/0.5547, allocations: 20.97 kB / 0.5563 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.5548, allocations: 47.56 kB / 0.5564 GB, free: 2.379 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 4.148e-06/0.5548, allocations: 0 / 0.5564 GB, free: 2.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=138): time 0.00976/0.5646, allocations: 5.076 MB / 0.5614 GB, free: 13.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.5647, allocations: 106.4 kB / 0.5615 GB, free: 12.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.5658, allocations: 0.9309 MB / 0.5624 GB, free: 12.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/0.5659, allocations: 45.7 kB / 0.5624 GB, free: 11.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/0.5664, allocations: 0.725 MB / 0.5631 GB, free: 11.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005367/0.567, allocations: 0.4929 MB / 0.5636 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000508/0.5675, allocations: 315.3 kB / 0.5639 GB, free: 10.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5676, allocations: 301.1 kB / 0.5642 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.5688, allocations: 0.7027 MB / 0.5649 GB, free: 9.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.5703, allocations: 1.155 MB / 0.566 GB, free: 8.094 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.01031/0.5806, allocations: 4.074 MB / 0.57 GB, free: 3.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.5806, allocations: 4 kB / 0.57 GB, free: 3.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007219/0.5878, allocations: 3.355 MB / 0.5733 GB, free: 460 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.5879, allocations: 12.09 kB / 0.5733 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.5879, allocations: 23.88 kB / 0.5733 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003004/0.5909, allocations: 1.197 MB / 0.5745 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.5923, allocations: 299.6 kB / 0.5747 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/0.6123, allocations: 15.14 MB / 0.5895 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.6137, allocations: 71.89 kB / 0.5896 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.6139, allocations: 79.89 kB / 0.5897 GB, free: 15.05 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.0009167/0.6148, allocations: 0.491 MB / 0.5902 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.615, allocations: 134.4 kB / 0.5903 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/0.6183, allocations: 2.014 MB / 0.5922 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.6183, allocations: 16 kB / 0.5923 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6183, allocations: 4 kB / 0.5923 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.6183, allocations: 7.969 kB / 0.5923 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006404/0.6247, allocations: 3.752 MB / 0.5959 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.6248, allocations: 4 kB / 0.5959 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.6265, allocations: 327.5 kB / 0.5963 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/0.627, allocations: 191.4 kB / 0.5964 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.6271, allocations: 47.97 kB / 0.5965 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005431/0.6326, allocations: 6.672 MB / 0.603 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6326, allocations: 4 kB / 0.603 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004119/0.6367, allocations: 2.717 MB / 0.6057 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008121/0.6375, allocations: 331.2 kB / 0.606 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.6377, allocations: 43.98 kB / 0.606 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006826/0.6384, allocations: 59.94 kB / 0.6061 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.6387, allocations: 101.1 kB / 0.6062 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/0.6387, allocations: 40 kB / 0.6062 GB, free: 13.12 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008627/0.6396, allocations: 0.6244 MB / 0.6068 GB, free: 12.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6396, allocations: 0 / 0.6068 GB, free: 12.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002013/0.6416, allocations: 484 kB / 0.6073 GB, free: 12.02 MB / 478.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.0002727/0.6419, allocations: 159 kB / 0.6074 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004681/0.6466, allocations: 2.722 MB / 0.6101 GB, free: 9.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6466, allocations: 1.75 kB / 0.6101 GB, free: 9.078 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.6485, allocations: 1.245 MB / 0.6113 GB, free: 7.785 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.65, allocations: 313.6 kB / 0.6116 GB, free: 7.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007985/0.658, allocations: 4.889 MB / 0.6164 GB, free: 2.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.6595, allocations: 1.521 MB / 0.6179 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001137/0.6607, allocations: 403.6 kB / 0.6182 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.661, allocations: 95.44 kB / 0.6183 GB, free: 488 kB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.661, allocations: 0 / 0.6183 GB, free: 488 kB / 478.1 MB Notification: Performance of Templates: time 0.04267/0.7037, allocations: 25.81 MB / 0.6435 GB, free: 6.84 MB / 0.4981 GB 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)