Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,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_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,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_PSGI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 182.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 223.1 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 108.7 kB / 270.5 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.171/0.171, allocations: 38 MB / 355.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009257/0.0009258, allocations: 55.92 kB / 421.9 MB, free: 37.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.293, allocations: 55.23 MB / 477.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01463/0.3076, allocations: 13.05 MB / 490.1 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01585/0.3235, allocations: 7.944 MB / 498.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.3264, allocations: 95.41 kB / 498.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02833/0.3548, allocations: 12.99 MB / 0.4992 GB, free: 4.879 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00474/0.3595, allocations: 1.066 MB / 0.5002 GB, free: 3.809 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.3622, allocations: 0.6163 MB / 0.5008 GB, free: 3.191 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008298/0.3705, allocations: 5.674 MB / 0.5064 GB, free: 13.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.3725, allocations: 0.8836 MB / 0.5072 GB, free: 12.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.3747, allocations: 0.9686 MB / 0.5082 GB, free: 11.62 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.3775, allocations: 1.526 MB / 0.5097 GB, free: 10.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007861/0.3783, allocations: 96 kB / 0.5098 GB, free: 9.996 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.3801, allocations: 487.2 kB / 0.5102 GB, free: 9.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001489/0.3816, allocations: 0.8571 MB / 0.5111 GB, free: 8.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002275/0.3839, allocations: 0.9209 MB / 0.512 GB, free: 7.734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003535/0.3874, allocations: 2.457 MB / 0.5144 GB, free: 5.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3875, allocations: 0 / 0.5144 GB, free: 5.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3875, allocations: 0 / 0.5144 GB, free: 5.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001035/0.3876, allocations: 4 kB / 0.5144 GB, free: 5.266 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.006678/0.3943, allocations: 2.225 MB / 0.5165 GB, free: 2.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.3943, allocations: 8.031 kB / 0.5165 GB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.3966, allocations: 334.2 kB / 0.5169 GB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/0.3998, allocations: 1.28 MB / 0.5181 GB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/0.3999, allocations: 110.7 kB / 0.5182 GB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005625/0.4005, allocations: 235.7 kB / 0.5184 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.4039, allocations: 2.2 MB / 0.5206 GB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.404, allocations: 4 kB / 0.5206 GB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.4041, allocations: 63.92 kB / 0.5207 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006215/0.4047, allocations: 186.8 kB / 0.5208 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003032/0.4078, allocations: 1.827 MB / 0.5226 GB, free: 12.59 MB / 362.7 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.01246/0.4202, allocations: 8.579 MB / 0.531 GB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/0.4228, allocations: 1.91 MB / 0.5329 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.4241, allocations: 0.8059 MB / 0.5336 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.479e-05/0.4242, allocations: 21.38 kB / 0.5337 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.4243, allocations: 55.86 kB / 0.5337 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=130): time 3.266e-06/0.4243, allocations: 0 / 0.5337 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.01263/0.4369, allocations: 5.948 MB / 0.5395 GB, free: 10.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.437, allocations: 94.41 kB / 0.5396 GB, free: 10.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.4386, allocations: 1.071 MB / 0.5407 GB, free: 9.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.4388, allocations: 49.7 kB / 0.5407 GB, free: 9.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005542/0.4393, allocations: 0.7834 MB / 0.5415 GB, free: 8.496 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004657/0.4398, allocations: 0.5276 MB / 0.542 GB, free: 7.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004843/0.4403, allocations: 327.3 kB / 0.5423 GB, free: 7.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.4404, allocations: 301.1 kB / 0.5426 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.4416, allocations: 0.7418 MB / 0.5433 GB, free: 6.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.4432, allocations: 1.226 MB / 0.5445 GB, free: 5.164 MB / 378.7 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.01043/0.4536, allocations: 4.323 MB / 0.5487 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.695e-05/0.4536, allocations: 4 kB / 0.5487 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.00843/0.4621, allocations: 3.969 MB / 0.5526 GB, free: 12.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.4621, allocations: 15.98 kB / 0.5526 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/0.4622, allocations: 12.69 kB / 0.5526 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004237/0.4664, allocations: 1.441 MB / 0.554 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.4676, allocations: 291.5 kB / 0.5543 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02518/0.4928, allocations: 19.15 MB / 0.573 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.4943, allocations: 83.78 kB / 0.5731 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003058/0.4946, allocations: 79.98 kB / 0.5732 GB, free: 6.516 MB / 410.7 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.PI.x = 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: 66 * 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 (144): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001228/0.4959, allocations: 0.5169 MB / 0.5737 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/0.4963, allocations: 146.2 kB / 0.5738 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.5, allocations: 2.213 MB / 0.576 GB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.5001, allocations: 16 kB / 0.576 GB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.5001, allocations: 0 / 0.576 GB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.5001, allocations: 11.92 kB / 0.576 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00725/0.5074, allocations: 3.994 MB / 0.5799 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.5074, allocations: 3.938 kB / 0.5799 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.5091, allocations: 339.5 kB / 0.5802 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005838/0.5097, allocations: 216.2 kB / 0.5804 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.5099, allocations: 47.97 kB / 0.5805 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005695/0.5156, allocations: 7.306 MB / 0.5876 GB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.5156, allocations: 4 kB / 0.5876 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0344/0.55, allocations: 22.61 MB / 0.6097 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009082/0.551, allocations: 343.1 kB / 0.61 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.5513, allocations: 48.14 kB / 0.6101 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008796/0.5522, allocations: 67.81 kB / 0.6101 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/0.5525, allocations: 97.11 kB / 0.6102 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.5527, allocations: 47.98 kB / 0.6103 GB, free: 14.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.5539, allocations: 0.7061 MB / 0.611 GB, free: 13.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5539, allocations: 3.938 kB / 0.611 GB, free: 13.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002633/0.5565, allocations: 0.7383 MB / 0.6117 GB, free: 12.85 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],inverter2.vDC1,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],PI.x) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,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.0003967/0.5569, allocations: 183.3 kB / 0.6119 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005578/0.5625, allocations: 3.212 MB / 0.615 GB, free: 9.359 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5626, allocations: 4.125 kB / 0.615 GB, free: 9.355 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.5648, allocations: 1.407 MB / 0.6164 GB, free: 7.887 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.5666, allocations: 316.4 kB / 0.6167 GB, free: 7.574 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.5774, allocations: 7.369 MB / 0.6239 GB, free: 72 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/0.5792, allocations: 1.652 MB / 0.6255 GB, free: 14.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001779/0.581, allocations: 484.7 kB / 0.626 GB, free: 13.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005777/0.5816, allocations: 115.4 kB / 0.6261 GB, free: 13.79 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5816, allocations: 7.938 kB / 0.6261 GB, free: 13.78 MB / 474.7 MB Notification: Performance of Templates: time 0.2818/0.8634, allocations: 33.34 MB / 0.6586 GB, free: 141.5 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1)