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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_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.0008541/0.0008547, allocations: 92.81 kB / 16.65 MB, free: 6.586 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.001041/0.001041, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.365/1.365, allocations: 223.2 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1754/0.1754, allocations: 38.08 MB / 330.8 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003672, allocations: 8.281 kB / 400.7 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 59.17 MB / 459.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.0143/0.1415, allocations: 12.51 MB / 472.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.1555, allocations: 7.762 MB / 480.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.1577, allocations: 87.38 kB / 480.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02111/0.1788, allocations: 12.51 MB / 492.7 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.1823, allocations: 1.074 MB / 493.8 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.1846, allocations: 0.6123 MB / 494.4 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009201/0.1938, allocations: 5.654 MB / 0.4883 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002909/0.1968, allocations: 1.258 MB / 0.4896 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.199, allocations: 0.9216 MB / 0.4905 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.2019, allocations: 1.46 MB / 0.4919 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006222/0.2025, allocations: 80 kB / 0.492 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.2042, allocations: 459.3 kB / 0.4924 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.2056, allocations: 0.8298 MB / 0.4932 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00177/0.2074, allocations: 0.9186 MB / 0.4941 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.2102, allocations: 2.402 MB / 0.4965 GB, free: 6.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2102, allocations: 0 / 0.4965 GB, free: 6.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2102, allocations: 0 / 0.4965 GB, free: 6.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.556e-05/0.2103, allocations: 0 / 0.4965 GB, free: 6.328 MB / 382.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.004053/0.2143, allocations: 1.901 MB / 0.4983 GB, free: 4.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2144, allocations: 8.031 kB / 0.4983 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/0.2163, allocations: 334.3 kB / 0.4987 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.219, allocations: 1.28 MB / 0.4999 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-05/0.2191, allocations: 106.7 kB / 0.5 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006038/0.2197, allocations: 235.8 kB / 0.5002 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003579/0.2233, allocations: 2.204 MB / 0.5024 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/0.2233, allocations: 7.844 kB / 0.5024 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2546/0.4779, allocations: 55.06 kB / 0.5024 GB, free: 58.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009608/0.4789, allocations: 185.7 kB / 0.5026 GB, free: 58.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004735/0.4837, allocations: 1.848 MB / 0.5044 GB, free: 57.97 MB / 382.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.01348/0.4971, allocations: 8.586 MB / 0.5128 GB, free: 52.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.5001, allocations: 1.904 MB / 0.5147 GB, free: 51.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.5021, allocations: 0.7995 MB / 0.5154 GB, free: 51.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.5022, allocations: 23.44 kB / 0.5155 GB, free: 51.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.5023, allocations: 50.27 kB / 0.5155 GB, free: 51.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 4.379e-06/0.5023, allocations: 0 / 0.5155 GB, free: 51.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01321/0.5155, allocations: 5.998 MB / 0.5214 GB, free: 48.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.5156, allocations: 101.2 kB / 0.5215 GB, free: 48.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.5169, allocations: 1.066 MB / 0.5225 GB, free: 47.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.517, allocations: 54.28 kB / 0.5226 GB, free: 47.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.5175, allocations: 0.7902 MB / 0.5233 GB, free: 46.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.5178, allocations: 0.5192 MB / 0.5238 GB, free: 46.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.518, allocations: 162.2 kB / 0.524 GB, free: 46.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.16e-05/0.5181, allocations: 302.5 kB / 0.5243 GB, free: 46.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.5192, allocations: 0.7462 MB / 0.525 GB, free: 45.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.5204, allocations: 1.229 MB / 0.5262 GB, free: 44.8 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.009296/0.5297, allocations: 4.36 MB / 0.5305 GB, free: 41.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.5298, allocations: 4 kB / 0.5305 GB, free: 41.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006998/0.5368, allocations: 3.984 MB / 0.5344 GB, free: 37.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.5368, allocations: 16 kB / 0.5344 GB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/0.5369, allocations: 12 kB / 0.5344 GB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003849/0.5407, allocations: 1.448 MB / 0.5358 GB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.5419, allocations: 295.5 kB / 0.5361 GB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/0.5613, allocations: 19.18 MB / 0.5548 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.5631, allocations: 85.52 kB / 0.5549 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/0.5633, allocations: 75.98 kB / 0.555 GB, free: 15.57 MB / 382.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.00108/0.5644, allocations: 0.5242 MB / 0.5555 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/0.5647, allocations: 150.2 kB / 0.5556 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.5678, allocations: 2.228 MB / 0.5578 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5679, allocations: 16 kB / 0.5578 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5679, allocations: 7.938 kB / 0.5578 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.5679, allocations: 7.969 kB / 0.5578 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005774/0.5737, allocations: 4.003 MB / 0.5617 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.5737, allocations: 0 / 0.5617 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.5753, allocations: 347.8 kB / 0.5621 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.5758, allocations: 204 kB / 0.5623 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.576, allocations: 51.97 kB / 0.5623 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004156/0.5801, allocations: 7.316 MB / 0.5695 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5802, allocations: 160 / 0.5695 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004762/0.5849, allocations: 2.952 MB / 0.5724 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007884/0.5857, allocations: 335.2 kB / 0.5727 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.586, allocations: 47.98 kB / 0.5727 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008288/0.5868, allocations: 59.94 kB / 0.5728 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/0.5871, allocations: 105.3 kB / 0.5729 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.5872, allocations: 47.98 kB / 0.5729 GB, free: 12.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.5882, allocations: 0.7061 MB / 0.5736 GB, free: 11.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.5882, allocations: 3.938 kB / 0.5736 GB, free: 11.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002165/0.5904, allocations: 0.5533 MB / 0.5742 GB, free: 10.86 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.0004025/0.5908, allocations: 181.9 kB / 0.5743 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0056/0.5964, allocations: 3.221 MB / 0.5775 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5964, allocations: 0 / 0.5775 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.5987, allocations: 1.415 MB / 0.5789 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.6008, allocations: 311.6 kB / 0.5792 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008736/0.6096, allocations: 6.276 MB / 0.5853 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.6109, allocations: 1.58 MB / 0.5868 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001496/0.6124, allocations: 444.7 kB / 0.5872 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.6128, allocations: 107.4 kB / 0.5874 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 1.123e-06/0.6128, allocations: 3.938 kB / 0.5874 GB, free: 13.11 MB / 414.1 MB Notification: Performance of Templates: time 0.04655/0.6594, allocations: 26.63 MB / 0.6134 GB, free: 2.668 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile (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)