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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1966/0.1966, allocations: 38.53 MB / 344.5 MB, free: 2.539 MB / 270.1 MB " [Timeout remaining time 180] 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=2500,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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 67.88 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3822, allocations: 61.23 MB / 0.5306 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01125/0.3934, allocations: 10.83 MB / 0.5411 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.4058, allocations: 6.281 MB / 0.5473 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.4077, allocations: 48.16 kB / 0.5473 GB, free: 8.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01468/0.4223, allocations: 5.724 MB / 0.5529 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003652/0.426, allocations: 1.085 MB / 0.554 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.428, allocations: 0.6501 MB / 0.5546 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005243/0.4333, allocations: 3.251 MB / 0.5578 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.4346, allocations: 0.7074 MB / 0.5585 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.4363, allocations: 1.082 MB / 0.5595 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.4383, allocations: 1.464 MB / 0.561 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.4385, allocations: 144 kB / 0.5611 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.4395, allocations: 443.5 kB / 0.5615 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008851/0.4404, allocations: 0.8648 MB / 0.5624 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009771/0.4414, allocations: 0.9291 MB / 0.5633 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.4441, allocations: 2.269 MB / 0.5655 GB, free: 8.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4441, allocations: 4 kB / 0.5655 GB, free: 8.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4441, allocations: 0 / 0.5655 GB, free: 8.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.676e-05/0.4441, allocations: 0 / 0.5655 GB, free: 8.75 MB / 414.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.004334/0.4485, allocations: 2.111 MB / 0.5675 GB, free: 6.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4485, allocations: 11.89 kB / 0.5676 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.4501, allocations: 295.5 kB / 0.5678 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.4526, allocations: 1.211 MB / 0.569 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.911e-05/0.4527, allocations: 102.6 kB / 0.5691 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005145/0.4532, allocations: 227.8 kB / 0.5693 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.4568, allocations: 2.103 MB / 0.5714 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/0.4569, allocations: 11.88 kB / 0.5714 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.457, allocations: 59.97 kB / 0.5715 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000615/0.4576, allocations: 190.6 kB / 0.5716 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003079/0.4607, allocations: 1.705 MB / 0.5733 GB, free: 0.5234 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.01165/0.4724, allocations: 7.916 MB / 0.581 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.4749, allocations: 1.544 MB / 0.5825 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.4759, allocations: 0.6137 MB / 0.5831 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-05/0.476, allocations: 20.92 kB / 0.5832 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.4761, allocations: 47.5 kB / 0.5832 GB, free: 5.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.247e-06/0.4761, allocations: 0 / 0.5832 GB, free: 5.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.009985/0.486, allocations: 5.128 MB / 0.5882 GB, free: 0.625 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.4861, allocations: 94.42 kB / 0.5883 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.4874, allocations: 0.9387 MB / 0.5892 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.4875, allocations: 53.73 kB / 0.5893 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/0.4881, allocations: 0.7348 MB / 0.59 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.4886, allocations: 0.519 MB / 0.5905 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004868/0.4891, allocations: 311.5 kB / 0.5908 GB, free: 13.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4893, allocations: 305.1 kB / 0.5911 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.4905, allocations: 0.7066 MB / 0.5918 GB, free: 12.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.492, allocations: 1.147 MB / 0.5929 GB, free: 11.57 MB / 446.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.01022/0.5023, allocations: 4.086 MB / 0.5969 GB, free: 7.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.5023, allocations: 4 kB / 0.5969 GB, free: 7.316 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006992/0.5093, allocations: 3.308 MB / 0.6001 GB, free: 3.965 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.5093, allocations: 12 kB / 0.6001 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.5093, allocations: 16.66 kB / 0.6001 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003113/0.5124, allocations: 1.208 MB / 0.6013 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.5137, allocations: 291.5 kB / 0.6016 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0208/0.5345, allocations: 15.13 MB / 0.6164 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.5356, allocations: 87.83 kB / 0.6165 GB, free: 2.641 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.5358, allocations: 68 kB / 0.6165 GB, free: 2.574 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.0008855/0.5367, allocations: 0.5011 MB / 0.617 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.5369, allocations: 139.1 kB / 0.6171 GB, free: 1.926 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/0.5403, allocations: 2.006 MB / 0.6191 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.5403, allocations: 19.98 kB / 0.6191 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.5403, allocations: 4 kB / 0.6191 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.5404, allocations: 3.984 kB / 0.6191 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006578/0.5469, allocations: 3.756 MB / 0.6228 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.547, allocations: 4.062 kB / 0.6228 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.5486, allocations: 327.6 kB / 0.6231 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005415/0.5492, allocations: 195.2 kB / 0.6233 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.5493, allocations: 43.98 kB / 0.6233 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006259/0.5556, allocations: 6.688 MB / 0.6299 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.5556, allocations: 12 kB / 0.6299 GB, free: 4.043 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/0.5599, allocations: 2.71 MB / 0.6325 GB, free: 1.207 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006291/0.5605, allocations: 332 kB / 0.6329 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.5607, allocations: 43.98 kB / 0.6329 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/0.5615, allocations: 59.94 kB / 0.633 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.5617, allocations: 97.06 kB / 0.633 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/0.5618, allocations: 43.98 kB / 0.6331 GB, free: 0.625 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009304/0.5628, allocations: 0.6284 MB / 0.6337 GB, free: 15.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5628, allocations: 0 / 0.6337 GB, free: 15.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001659/0.5644, allocations: 484 kB / 0.6342 GB, free: 15.51 MB / 494.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.0002281/0.5647, allocations: 158 kB / 0.6343 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004825/0.5695, allocations: 2.617 MB / 0.6369 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5695, allocations: 0 / 0.6369 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.5715, allocations: 1.206 MB / 0.638 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.5731, allocations: 318.3 kB / 0.6384 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/0.5815, allocations: 4.988 MB / 0.6432 GB, free: 6.055 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.5831, allocations: 1.517 MB / 0.6447 GB, free: 4.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001233/0.5843, allocations: 399.6 kB / 0.6451 GB, free: 4.113 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.5847, allocations: 99.42 kB / 0.6452 GB, free: 4.016 MB / 494.1 MB Notification: Performance of SimCode: time 1.213e-06/0.5847, allocations: 4 kB / 0.6452 GB, free: 4.012 MB / 494.1 MB Notification: Performance of Templates: time 0.04605/0.6307, allocations: 26.21 MB / 0.6708 GB, free: 9.973 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.168768589384854]