Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009032, allocations: 89.66 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.001045/0.001045, allocations: 176.9 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.179/0.179, allocations: 38.04 MB / 310.1 MB, free: 5.926 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000622/0.0006222, allocations: 16 kB / 377.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3057, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01129/0.317, allocations: 12.49 MB / 446 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.3304, allocations: 7.812 MB / 453.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.3333, allocations: 83.44 kB / 453.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02034/0.3536, allocations: 12.51 MB / 466.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.3575, allocations: 1.062 MB / 467.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.3596, allocations: 0.6162 MB / 468.1 MB, free: 8 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008048/0.3677, allocations: 5.658 MB / 473.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.3701, allocations: 1.265 MB / 475 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.3722, allocations: 0.9061 MB / 475.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/0.3743, allocations: 1.464 MB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.3746, allocations: 76 kB / 477.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.3757, allocations: 467.2 kB / 477.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007739/0.3765, allocations: 0.8298 MB / 478.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.3776, allocations: 0.907 MB / 479.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.3801, allocations: 2.414 MB / 482 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3801, allocations: 8 kB / 482.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3801, allocations: 3.938 kB / 482.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.336e-05/0.3802, allocations: 0 / 482.1 MB, free: 1.926 MB / 350.1 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.004318/0.3845, allocations: 1.89 MB / 483.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3846, allocations: 8.031 kB / 484 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.3865, allocations: 334.2 kB / 484.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.3892, allocations: 1.283 MB / 485.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.3893, allocations: 106.7 kB / 485.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000557/0.3899, allocations: 239.7 kB / 485.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/0.3932, allocations: 2.2 MB / 488.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/0.3932, allocations: 7.938 kB / 488.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.3934, allocations: 59.98 kB / 488.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006328/0.394, allocations: 186.8 kB / 488.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/0.397, allocations: 1.838 MB / 490.2 MB, free: 9.57 MB / 366.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.01403/0.411, allocations: 8.586 MB / 498.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.4142, allocations: 1.918 MB / 0.489 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.4159, allocations: 0.8025 MB / 0.4897 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.4161, allocations: 17.38 kB / 0.4898 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.4162, allocations: 51.86 kB / 0.4898 GB, free: 13.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 4.068e-06/0.4162, allocations: 0 / 0.4898 GB, free: 13.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01335/0.4295, allocations: 6.01 MB / 0.4957 GB, free: 7.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.4296, allocations: 94.42 kB / 0.4958 GB, free: 7.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.4313, allocations: 1.071 MB / 0.4968 GB, free: 6.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.4314, allocations: 49.7 kB / 0.4969 GB, free: 6.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/0.432, allocations: 0.7834 MB / 0.4976 GB, free: 5.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004371/0.4325, allocations: 0.5199 MB / 0.4981 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.4327, allocations: 165.6 kB / 0.4983 GB, free: 4.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4328, allocations: 305.1 kB / 0.4986 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.4341, allocations: 0.7457 MB / 0.4993 GB, free: 3.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.4356, allocations: 1.234 MB / 0.5005 GB, free: 2.23 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.01092/0.4465, allocations: 4.346 MB / 0.5048 GB, free: 13.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/0.4466, allocations: 4 kB / 0.5048 GB, free: 13.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.008607/0.4552, allocations: 3.988 MB / 0.5087 GB, free: 9.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.4553, allocations: 15.98 kB / 0.5087 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.4553, allocations: 12 kB / 0.5087 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004201/0.4595, allocations: 1.442 MB / 0.5101 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.4607, allocations: 299.5 kB / 0.5104 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2884/0.7492, allocations: 19.17 MB / 0.5291 GB, free: 77.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.7508, allocations: 87.58 kB / 0.5292 GB, free: 77.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.751, allocations: 78.31 kB / 0.5293 GB, free: 77.56 MB / 398.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.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.00101/0.752, allocations: 0.5308 MB / 0.5298 GB, free: 77.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.7522, allocations: 139.5 kB / 0.5299 GB, free: 77.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.7555, allocations: 2.228 MB / 0.5321 GB, free: 76.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.7555, allocations: 22.41 kB / 0.5321 GB, free: 76.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.7555, allocations: 6.797 kB / 0.5321 GB, free: 76.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.7556, allocations: 3.75 kB / 0.5321 GB, free: 76.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006703/0.7623, allocations: 4.01 MB / 0.536 GB, free: 74.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.7623, allocations: 5.797 kB / 0.536 GB, free: 74.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.764, allocations: 347 kB / 0.5364 GB, free: 74.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005739/0.7646, allocations: 203.9 kB / 0.5366 GB, free: 74.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.7647, allocations: 46.73 kB / 0.5366 GB, free: 74.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00463/0.7694, allocations: 7.316 MB / 0.5437 GB, free: 67.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7694, allocations: 3.844 kB / 0.5438 GB, free: 67.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/0.7733, allocations: 2.942 MB / 0.5466 GB, free: 65.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006266/0.7739, allocations: 346.6 kB / 0.547 GB, free: 65.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.7741, allocations: 50.34 kB / 0.547 GB, free: 65.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007623/0.7749, allocations: 64.09 kB / 0.5471 GB, free: 65.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.7752, allocations: 94.31 kB / 0.5472 GB, free: 65.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.582e-05/0.7753, allocations: 46.55 kB / 0.5472 GB, free: 65.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009578/0.7762, allocations: 0.7122 MB / 0.5479 GB, free: 65.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7762, allocations: 0 / 0.5479 GB, free: 65.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001955/0.7782, allocations: 0.5429 MB / 0.5484 GB, free: 65.11 MB / 398.1 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.0003997/0.7786, allocations: 188.8 kB / 0.5486 GB, free: 64.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004657/0.7833, allocations: 3.223 MB / 0.5518 GB, free: 61.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.7833, allocations: 4 kB / 0.5518 GB, free: 61.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.785, allocations: 1.414 MB / 0.5531 GB, free: 60.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.7869, allocations: 317.3 kB / 0.5534 GB, free: 59.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007448/0.7944, allocations: 6.261 MB / 0.5596 GB, free: 53.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.7956, allocations: 1.583 MB / 0.5611 GB, free: 51.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001508/0.7971, allocations: 436.7 kB / 0.5615 GB, free: 51.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.7974, allocations: 111.4 kB / 0.5616 GB, free: 51.44 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7974, allocations: 3.938 kB / 0.5616 GB, free: 51.44 MB / 398.1 MB Notification: Performance of Templates: time 0.04204/0.8395, allocations: 26.63 MB / 0.5876 GB, free: 24.85 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) Environment - environmentSimulation: