Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 111.8 kB / 16.51 MB, free: 6.715 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.00194/0.00194, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.398/1.398, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1737/0.1737, allocations: 38.03 MB / 329.3 MB, free: 9.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.16 kB / 398.1 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 58.05 MB / 456.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01115/0.1162, allocations: 9.317 MB / 465.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009617/0.1259, allocations: 6.031 MB / 471.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.1272, allocations: 55.69 kB / 471.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.1381, allocations: 5.124 MB / 476.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.1405, allocations: 0.7939 MB / 477.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1417, allocations: 451.2 kB / 477.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004383/0.1461, allocations: 3.767 MB / 481.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.1473, allocations: 0.5791 MB / 482.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.1487, allocations: 0.6418 MB / 482.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.1504, allocations: 1.094 MB / 484 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003798/0.1508, allocations: 68 kB / 484.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.152, allocations: 335.5 kB / 484.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008087/0.1528, allocations: 0.6311 MB / 485 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.1538, allocations: 0.6373 MB / 485.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.1556, allocations: 1.674 MB / 487.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1556, allocations: 0 / 487.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1556, allocations: 0 / 487.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.768e-05/0.1556, allocations: 0 / 487.3 MB, free: 9.234 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003517/0.1592, allocations: 1.589 MB / 488.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1592, allocations: 12.03 kB / 488.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.1605, allocations: 211.1 kB / 489.1 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.1624, allocations: 0.9256 MB / 490.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.1625, allocations: 81.95 kB / 490.1 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00049/0.163, allocations: 179.8 kB / 490.3 MB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.1657, allocations: 1.564 MB / 491.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.1658, allocations: 7.984 kB / 491.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.1659, allocations: 39.98 kB / 491.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006264/0.1665, allocations: 149.9 kB / 492.1 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.1689, allocations: 1.249 MB / 493.3 MB, free: 3.051 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.00903/0.178, allocations: 6.497 MB / 499.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.1796, allocations: 0.9146 MB / 0.489 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008503/0.1805, allocations: 0.5082 MB / 0.4895 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-05/0.1806, allocations: 20.97 kB / 0.4895 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1806, allocations: 39.56 kB / 0.4895 GB, free: 10.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 4.108e-06/0.1806, allocations: 0 / 0.4895 GB, free: 10.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.006789/0.1874, allocations: 3.675 MB / 0.4931 GB, free: 6.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.1875, allocations: 94.05 kB / 0.4932 GB, free: 6.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009967/0.1885, allocations: 0.7273 MB / 0.4939 GB, free: 5.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.593e-05/0.1886, allocations: 41.7 kB / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.1891, allocations: 0.5574 MB / 0.4945 GB, free: 5.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.1894, allocations: 366.8 kB / 0.4949 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.1898, allocations: 230.8 kB / 0.4951 GB, free: 4.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.19, allocations: 410.7 kB / 0.4955 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009421/0.191, allocations: 0.5686 MB / 0.496 GB, free: 3.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.1922, allocations: 0.8815 MB / 0.4969 GB, free: 2.793 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.2016/0.3937, allocations: 3.233 MB / 0.5001 GB, free: 56.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.3938, allocations: 2.062 kB / 0.5001 GB, free: 56.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006565/0.4004, allocations: 2.735 MB / 0.5027 GB, free: 55.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.4004, allocations: 9.078 kB / 0.5027 GB, free: 55.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/0.4005, allocations: 10 kB / 0.5027 GB, free: 55.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003512/0.404, allocations: 1.151 MB / 0.5039 GB, free: 55.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009231/0.4049, allocations: 201.7 kB / 0.5041 GB, free: 55.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/0.422, allocations: 11.21 MB / 0.515 GB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008443/0.4229, allocations: 57.66 kB / 0.5151 GB, free: 50.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.4231, allocations: 52.94 kB / 0.5151 GB, free: 50.25 MB / 382.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006609/0.4237, allocations: 403.1 kB / 0.5155 GB, free: 50.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.424, allocations: 100 kB / 0.5156 GB, free: 50.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.4262, allocations: 1.411 MB / 0.517 GB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.4262, allocations: 10.19 kB / 0.517 GB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4262, allocations: 1.156 kB / 0.517 GB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4262, allocations: 4.781 kB / 0.517 GB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.4301, allocations: 2.669 MB / 0.5196 GB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4301, allocations: 1.75 kB / 0.5196 GB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.4316, allocations: 281.1 kB / 0.5199 GB, free: 48.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/0.4318, allocations: 54.95 kB / 0.5199 GB, free: 48.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.4319, allocations: 38.5 kB / 0.52 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.4333, allocations: 2.638 MB / 0.5225 GB, free: 45.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.4333, allocations: 2.656 kB / 0.5225 GB, free: 45.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.4356, allocations: 1.891 MB / 0.5244 GB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.436, allocations: 250.2 kB / 0.5246 GB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.4362, allocations: 38.83 kB / 0.5247 GB, free: 44.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.4368, allocations: 41.3 kB / 0.5247 GB, free: 44.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.4369, allocations: 75.31 kB / 0.5248 GB, free: 44.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.437, allocations: 31.61 kB / 0.5248 GB, free: 44.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004854/0.4375, allocations: 497.4 kB / 0.5253 GB, free: 43.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4375, allocations: 0 / 0.5253 GB, free: 43.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001225/0.4387, allocations: 375.8 kB / 0.5256 GB, free: 43.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,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.0001636/0.4389, allocations: 143.9 kB / 0.5258 GB, free: 43.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.442, allocations: 2.064 MB / 0.5278 GB, free: 42.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.442, allocations: 0 / 0.5278 GB, free: 42.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009004/0.4429, allocations: 0.7608 MB / 0.5285 GB, free: 41.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009282/0.4439, allocations: 203.7 kB / 0.5287 GB, free: 41.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.4492, allocations: 4.542 MB / 0.5332 GB, free: 36.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.45, allocations: 1.302 MB / 0.5344 GB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008925/0.4509, allocations: 314.9 kB / 0.5347 GB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.4512, allocations: 79.36 kB / 0.5348 GB, free: 35.23 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4512, allocations: 0 / 0.5348 GB, free: 35.23 MB / 382.1 MB Notification: Performance of Templates: time 0.0251/0.4763, allocations: 18.19 MB / 0.5526 GB, free: 17.16 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)