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 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_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.001179/0.001179, allocations: 93.34 kB / 16.65 MB, free: 6.598 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.001341/0.001341, allocations: 179.3 kB / 17.56 MB, free: 6.199 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.352/1.352, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1829/0.1829, allocations: 38.06 MB / 310.1 MB, free: 5.91 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.0005121/0.0005123, allocations: 15.12 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2537, allocations: 56.33 MB / 433.5 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.007407/0.2611, allocations: 8.842 MB / 442.3 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008121/0.2693, allocations: 5.968 MB / 448.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.2707, allocations: 51.62 kB / 448.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008583/0.2793, allocations: 4.734 MB / 453.1 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003415/0.2828, allocations: 0.7978 MB / 453.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.2841, allocations: 451.2 kB / 454.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004577/0.2887, allocations: 3.751 MB / 458.1 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.2902, allocations: 0.9056 MB / 459 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.2913, allocations: 0.6144 MB / 459.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.2927, allocations: 1.063 MB / 460.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.2929, allocations: 56 kB / 460.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006839/0.2936, allocations: 327.5 kB / 461 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005702/0.2942, allocations: 0.6117 MB / 461.6 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006555/0.2948, allocations: 0.6507 MB / 462.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.2964, allocations: 1.635 MB / 463.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2964, allocations: 0 / 463.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2964, allocations: 0 / 463.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.2964, allocations: 0 / 463.9 MB, free: 4.074 MB / 334.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.002941/0.2994, allocations: 1.355 MB / 465.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.2995, allocations: 12.03 kB / 465.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.3007, allocations: 211.1 kB / 465.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.3025, allocations: 0.9256 MB / 466.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.3025, allocations: 73.97 kB / 466.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004534/0.303, allocations: 183.7 kB / 466.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.3054, allocations: 1.575 MB / 468.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.3054, allocations: 3.938 kB / 468.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.3055, allocations: 43.98 kB / 468.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006033/0.3062, allocations: 153.8 kB / 468.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.3082, allocations: 1.265 MB / 469.7 MB, free: 14.1 MB / 350.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.008059/0.3162, allocations: 6.501 MB / 476.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.3178, allocations: 0.9166 MB / 477.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007997/0.3186, allocations: 0.5199 MB / 477.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-05/0.3187, allocations: 20.92 kB / 477.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.3188, allocations: 39.56 kB / 477.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 3.587e-06/0.3188, allocations: 0 / 477.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=96): time 0.006619/0.3254, allocations: 3.702 MB / 481.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.3255, allocations: 94.03 kB / 481.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008364/0.3263, allocations: 0.7273 MB / 482.2 MB, free: 1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.3264, allocations: 41.7 kB / 482.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.3268, allocations: 0.5574 MB / 482.8 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.327, allocations: 358.8 kB / 483.2 MB, free: 32 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.3272, allocations: 121.6 kB / 483.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3274, allocations: 414.8 kB / 483.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000889/0.3283, allocations: 0.5686 MB / 484.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.3295, allocations: 0.8931 MB / 485.2 MB, free: 13.89 MB / 366.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.008638/0.3381, allocations: 3.259 MB / 488.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.3382, allocations: 4 kB / 488.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006184/0.3444, allocations: 2.741 MB / 491.2 MB, free: 7.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.3445, allocations: 19.97 kB / 491.2 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.3445, allocations: 12 kB / 491.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/0.3474, allocations: 1.152 MB / 492.4 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/0.3482, allocations: 203.6 kB / 492.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01804/0.3663, allocations: 11.24 MB / 0.492 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.3673, allocations: 59.95 kB / 0.492 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.3674, allocations: 52 kB / 0.4921 GB, free: 10.73 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 sytem: $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.0007604/0.3682, allocations: 408.9 kB / 0.4925 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.3684, allocations: 98.84 kB / 0.4926 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.3707, allocations: 1.419 MB / 0.494 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3707, allocations: 8 kB / 0.494 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3707, allocations: 0 / 0.494 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.3707, allocations: 11.92 kB / 0.494 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/0.375, allocations: 2.688 MB / 0.4966 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.375, allocations: 4 kB / 0.4966 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.3765, allocations: 275.6 kB / 0.4969 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.3767, allocations: 61.89 kB / 0.4969 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.3768, allocations: 35.97 kB / 0.497 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.3788, allocations: 2.642 MB / 0.4995 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.3788, allocations: 4 kB / 0.4995 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.3816, allocations: 1.91 MB / 0.5014 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/0.3822, allocations: 259.8 kB / 0.5017 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.3823, allocations: 35.98 kB / 0.5017 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.3829, allocations: 43.97 kB / 0.5017 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.3831, allocations: 72.78 kB / 0.5018 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/0.3832, allocations: 27.98 kB / 0.5018 GB, free: 212 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006235/0.3838, allocations: 495 kB / 0.5023 GB, free: 15.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3838, allocations: 0 / 0.5023 GB, free: 15.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001406/0.3852, allocations: 376 kB / 0.5027 GB, free: 15.36 MB / 398.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.0002078/0.3854, allocations: 151 kB / 0.5028 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003889/0.3893, allocations: 2.072 MB / 0.5048 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3893, allocations: 1.312 kB / 0.5048 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.3905, allocations: 0.7609 MB / 0.5056 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.3918, allocations: 206.8 kB / 0.5058 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/0.3982, allocations: 4.942 MB / 0.5106 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009339/0.3991, allocations: 1.302 MB / 0.5119 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009689/0.4001, allocations: 320 kB / 0.5122 GB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.4004, allocations: 71.44 kB / 0.5122 GB, free: 5.402 MB / 398.1 MB Notification: Performance of SimCode: time 1.864e-06/0.4004, allocations: 0 / 0.5122 GB, free: 5.402 MB / 398.1 MB Notification: Performance of Templates: time 0.2312/0.6316, allocations: 17.86 MB / 0.5297 GB, free: 82.25 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: