Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.0007009/0.0007009, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009281/0.001629, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007089/0.0007089, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009507/0.00166, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9877/0.9877, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08116/1.069, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1615/0.1615, allocations: 29.42 MB / 273.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1248/0.2863, allocations: 9.528 MB / 283.1 MB, free: 12.82 MB / 282.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_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.253e-06/8.295e-06, allocations: 2.312 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.007395/0.007403, allocations: 9.646 MB / 294.1 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007357/0.01476, allocations: 6.953 MB / 301 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.01522, allocations: 59.5 kB / 301.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01529/0.03051, allocations: 12.9 MB / 314 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.03234, allocations: 1.177 MB / 315.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.0337, allocations: 0.7013 MB / 315.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00374/0.03744, allocations: 4.039 MB / 319.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008945/0.03834, allocations: 0.8049 MB / 320.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.0406, allocations: 1.669 MB / 322.4 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.04195, allocations: 1.247 MB / 323.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.04216, allocations: 144 kB / 323.7 MB, free: 7.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008467/0.043, allocations: 0.5459 MB / 324.3 MB, free: 6.684 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006543/0.04366, allocations: 0.8574 MB / 325.2 MB, free: 5.824 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005704/0.04423, allocations: 0.5302 MB / 325.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.04597, allocations: 1.729 MB / 327.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.04598, allocations: 4 kB / 327.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.04598, allocations: 0 / 327.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.04601, allocations: 0 / 327.4 MB, free: 3.555 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.002975/0.04898, allocations: 2.367 MB / 329.8 MB, free: 1.148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.04901, allocations: 8.031 kB / 329.8 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.05048, allocations: 0.4898 MB / 330.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.05191, allocations: 0.994 MB / 331.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.819e-05/0.05198, allocations: 102.7 kB / 331.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.05238, allocations: 215.7 kB / 331.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.05389, allocations: 1.283 MB / 332.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/0.05393, allocations: 15.88 kB / 332.9 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.05404, allocations: 59.92 kB / 332.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004152/0.05446, allocations: 190.7 kB / 333.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009523/0.05541, allocations: 0.5728 MB / 333.7 MB, free: 13.04 MB / 330.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(line.v[3,4]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006649/0.06206, allocations: 6.129 MB / 339.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.06306, allocations: 0.7413 MB / 340.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.0636, allocations: 336.5 kB / 340.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.796e-05/0.06367, allocations: 25 kB / 340.9 MB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.0637, allocations: 51.5 kB / 341 MB, free: 5.434 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.005e-06/0.06371, allocations: 0 / 341 MB, free: 5.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.004631/0.06834, allocations: 2.442 MB / 343.4 MB, free: 2.965 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.06838, allocations: 94.42 kB / 343.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00062/0.069, allocations: 0.8078 MB / 344.3 MB, free: 2.031 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/0.06907, allocations: 49.7 kB / 344.4 MB, free: 1.977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.0694, allocations: 0.6545 MB / 345 MB, free: 1.309 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.06972, allocations: 0.5151 MB / 345.5 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.07007, allocations: 307.3 kB / 345.8 MB, free: 496 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.07013, allocations: 305.1 kB / 346.1 MB, free: 188 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.07048, allocations: 206.7 kB / 346.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.07104, allocations: 0.636 MB / 347 MB, free: 15.15 MB / 346.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.001659/0.07269, allocations: 1.463 MB / 348.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.0727, allocations: 4 kB / 348.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003167/0.07587, allocations: 1.611 MB / 350 MB, free: 11.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.07589, allocations: 12 kB / 350.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.07591, allocations: 12 kB / 350.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003402/0.07931, allocations: 1.304 MB / 351.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/0.08, allocations: 291.5 kB / 351.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008894/0.08889, allocations: 9.276 MB / 360.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.0894, allocations: 60.11 kB / 361 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.08948, allocations: 52 kB / 361 MB, free: 500 kB / 346.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.line.v[2,4] = line.v[1,4] * line.omega[1] $DER.line.v[2,1] = line.v[1,1] * line.omega[1] $DER.line.v[1,4] = (-line.v[2,4]) * line.omega[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * 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 initialization (134): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,75)} Notification: Performance of prepare postOptimizeDAE: time 0.0003027/0.08978, allocations: 236.9 kB / 361.3 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.08992, allocations: 127.9 kB / 361.4 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.09094, allocations: 0.8796 MB / 362.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.09095, allocations: 19.94 kB / 362.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.09095, allocations: 0 / 362.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.09096, allocations: 11.98 kB / 362.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.09324, allocations: 1.722 MB / 364 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.09324, allocations: 7.938 kB / 364 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.09427, allocations: 417.4 kB / 364.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.09451, allocations: 195 kB / 364.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.0948, allocations: 191.9 kB / 364.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/0.09487, allocations: 43.97 kB / 364.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.0983, allocations: 6.404 MB / 371.3 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.0983, allocations: 4 kB / 371.3 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.09952, allocations: 1.239 MB / 372.5 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.09962, allocations: 39.98 kB / 372.6 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.09993, allocations: 31.98 kB / 372.6 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.1001, allocations: 101.1 kB / 372.7 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.1001, allocations: 27.98 kB / 372.7 MB, free: 4.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002672/0.1004, allocations: 386.2 kB / 373.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1004, allocations: 0 / 373.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009802/0.1014, allocations: 0.5429 MB / 373.6 MB, free: 3.211 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 25 (inertia.phi,inertia.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],meterDC.pav,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]) * 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 (126): * Single equations (assignments): 120 * 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.0002519/0.1016, allocations: 171.1 kB / 373.8 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.1035, allocations: 1.841 MB / 375.6 MB, free: 1.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.494e-05/0.1035, allocations: 28.48 kB / 375.7 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008085/0.1044, allocations: 1.057 MB / 376.7 MB, free: 0 / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.106, allocations: 2.582 MB / 379.3 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/0.1257, allocations: 3.254 MB / 382.6 MB, free: 9.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1261, allocations: 488.5 kB / 383 MB, free: 9.094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004777/0.1266, allocations: 192.1 kB / 383.2 MB, free: 8.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.1271, allocations: 317.2 kB / 383.5 MB, free: 8.594 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1271, allocations: 0 / 383.5 MB, free: 8.594 MB / 378.7 MB Notification: Performance of Templates: time 0.02841/0.1555, allocations: 27.23 MB / 410.8 MB, free: 13.72 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.2380512356758118]