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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009891/0.0009891, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9503/0.9503, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2922/0.2922, allocations: 29.42 MB / 291.2 MB, free: 2.516 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.927e-05, allocations: 6.312 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.009784/0.009813, allocations: 10.99 MB / 380.6 MB, free: 300 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009571/0.01938, allocations: 6.822 MB / 387.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.02061, allocations: 67.44 kB / 387.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01769/0.0383, allocations: 14.54 MB / 402 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002896/0.0412, allocations: 1.177 MB / 403.2 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.04283, allocations: 0.752 MB / 404 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004868/0.0477, allocations: 4.229 MB / 408.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.04906, allocations: 0.8631 MB / 409 MB, free: 3.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0025/0.05156, allocations: 1.492 MB / 410.5 MB, free: 2.273 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.05347, allocations: 1.41 MB / 411.9 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003948/0.05386, allocations: 152 kB / 412.1 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.05493, allocations: 0.5615 MB / 412.7 MB, free: 152 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007659/0.0557, allocations: 0.978 MB / 413.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009667/0.05667, allocations: 0.682 MB / 414.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.05917, allocations: 1.951 MB / 416.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.05918, allocations: 4 kB / 416.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.05918, allocations: 0 / 416.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.666e-05/0.05924, allocations: 0 / 416.3 MB, free: 12.52 MB / 394.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.004289/0.06353, allocations: 2.326 MB / 418.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.06359, allocations: 11.98 kB / 418.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002269/0.06586, allocations: 0.5343 MB / 419.1 MB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.06859, allocations: 1.25 MB / 420.4 MB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.701e-05/0.06869, allocations: 110.7 kB / 420.5 MB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005539/0.06924, allocations: 231.7 kB / 420.7 MB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.07198, allocations: 1.497 MB / 422.2 MB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.429e-05/0.07204, allocations: 7.938 kB / 422.2 MB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.07219, allocations: 55.98 kB / 422.3 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005915/0.07278, allocations: 198.7 kB / 422.5 MB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.07483, allocations: 0.7859 MB / 423.3 MB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.08535, allocations: 7.682 MB / 431 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.0874, allocations: 0.905 MB / 431.9 MB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009699/0.08837, allocations: 451 kB / 432.3 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.586e-05/0.08844, allocations: 21.31 kB / 432.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.0885, allocations: 54.7 kB / 432.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 4.328e-06/0.0885, allocations: 0 / 432.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.008164/0.09667, allocations: 3.443 MB / 435.8 MB, free: 8.348 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.09673, allocations: 102.4 kB / 435.9 MB, free: 8.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.09801, allocations: 1.008 MB / 436.9 MB, free: 7.207 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.03e-05/0.0981, allocations: 49.7 kB / 437 MB, free: 7.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006342/0.09873, allocations: 0.8779 MB / 437.8 MB, free: 6.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.09921, allocations: 0.5618 MB / 438.4 MB, free: 5.695 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008182/0.1, allocations: 333.1 kB / 438.7 MB, free: 5.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1002, allocations: 484.8 kB / 439.2 MB, free: 4.883 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007625/0.1009, allocations: 307.8 kB / 439.5 MB, free: 4.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.1021, allocations: 0.999 MB / 440.5 MB, free: 3.309 MB / 410.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.003004/0.1051, allocations: 2.045 MB / 442.6 MB, free: 1.016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.1051, allocations: 7.938 kB / 442.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.166/0.2711, allocations: 2.625 MB / 445.2 MB, free: 97.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.2712, allocations: 16.75 kB / 445.2 MB, free: 97.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.2712, allocations: 12.56 kB / 445.2 MB, free: 97.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003455/0.2746, allocations: 1.375 MB / 446.6 MB, free: 97.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.2754, allocations: 295.2 kB / 446.9 MB, free: 97.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/0.2882, allocations: 17.88 MB / 464.8 MB, free: 84.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/0.2891, allocations: 77.78 kB / 464.8 MB, free: 84.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.2892, allocations: 75.22 kB / 464.9 MB, free: 84.6 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.000468/0.2897, allocations: 275.8 kB / 465.2 MB, free: 84.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.2899, allocations: 195.5 kB / 465.4 MB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.2918, allocations: 1.211 MB / 466.6 MB, free: 84.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.2918, allocations: 12.75 kB / 466.6 MB, free: 84.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2918, allocations: 6.812 kB / 466.6 MB, free: 84.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.2918, allocations: 14.39 kB / 466.6 MB, free: 84.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/0.2955, allocations: 2.539 MB / 469.1 MB, free: 83.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.2955, allocations: 3.25 kB / 469.1 MB, free: 83.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.2966, allocations: 340.6 kB / 469.5 MB, free: 83.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003553/0.297, allocations: 173.7 kB / 469.7 MB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.803e-05/0.2971, allocations: 47.12 kB / 469.7 MB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.2998, allocations: 9.184 MB / 478.9 MB, free: 74.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2998, allocations: 3.188 kB / 478.9 MB, free: 74.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.3019, allocations: 1.675 MB / 480.6 MB, free: 74.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.3023, allocations: 255.5 kB / 480.8 MB, free: 74.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.3024, allocations: 43.34 kB / 480.9 MB, free: 74.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/0.3029, allocations: 58.53 kB / 480.9 MB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.3031, allocations: 106.3 kB / 481 MB, free: 74.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/0.3032, allocations: 42.28 kB / 481.1 MB, free: 74.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005021/0.3037, allocations: 0.5692 MB / 481.6 MB, free: 73.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3037, allocations: 0 / 481.6 MB, free: 73.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001461/0.3051, allocations: 0.5494 MB / 482.2 MB, free: 73.75 MB / 410.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.000264/0.3054, allocations: 186.6 kB / 482.4 MB, free: 73.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.3082, allocations: 2.899 MB / 485.3 MB, free: 71.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3082, allocations: 0 / 485.3 MB, free: 71.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.3093, allocations: 1.374 MB / 486.6 MB, free: 70.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009884/0.3103, allocations: 307.2 kB / 486.9 MB, free: 70.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.3157, allocations: 4.125 MB / 491.1 MB, free: 68.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.3161, allocations: 0.4916 MB / 491.5 MB, free: 68.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007987/0.3169, allocations: 368.1 kB / 491.9 MB, free: 68.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/0.3183, allocations: 113.1 kB / 492 MB, free: 68.37 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3183, allocations: 4 kB / 492 MB, free: 68.36 MB / 410.7 MB Notification: Performance of Templates: time 0.02974/0.348, allocations: 27.18 MB / 0.507 GB, free: 58.17 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.8837918238714337]