Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0009852/0.0009852, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001086/0.001086, allocations: 170.8 kB / 24.91 MB, free: 8.727 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 1.089/1.089, allocations: 177.1 MB / 205.3 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2744/0.2744, allocations: 29.42 MB / 291.2 MB, free: 2.371 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.854e-05, allocations: 3.953 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.008648/0.008667, allocations: 9.559 MB / 326.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009028/0.01769, allocations: 6.909 MB / 333.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005818/0.01828, allocations: 59.5 kB / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01432/0.03259, allocations: 13.95 MB / 347.4 MB, free: 1.383 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.03459, allocations: 1.123 MB / 348.5 MB, free: 260 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.03579, allocations: 0.7208 MB / 349.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.03885, allocations: 4.062 MB / 353.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009478/0.0398, allocations: 0.8981 MB / 354.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.04119, allocations: 1.566 MB / 355.7 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.04234, allocations: 1.219 MB / 357 MB, free: 7.734 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.0425, allocations: 140 kB / 357.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007675/0.04327, allocations: 0.5537 MB / 357.6 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006259/0.0439, allocations: 0.9507 MB / 358.6 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005312/0.04443, allocations: 0.6508 MB / 359.2 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.04614, allocations: 1.877 MB / 361.1 MB, free: 3.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.04615, allocations: 0 / 361.1 MB, free: 3.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.04615, allocations: 0 / 361.1 MB, free: 3.555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.04617, allocations: 0 / 361.1 MB, free: 3.555 MB / 330.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.002193/0.04836, allocations: 1.969 MB / 363.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.04839, allocations: 11.98 kB / 363.1 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.0495, allocations: 416.5 kB / 363.5 MB, free: 1.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.05066, allocations: 0.9902 MB / 364.5 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.346e-05/0.05072, allocations: 106.7 kB / 364.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/0.05103, allocations: 215.8 kB / 364.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.05223, allocations: 1.283 MB / 366.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.05226, allocations: 15.88 kB / 366.1 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.05235, allocations: 59.97 kB / 366.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003001/0.05265, allocations: 182.6 kB / 366.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.05343, allocations: 0.5767 MB / 366.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/0.05872, allocations: 6.031 MB / 373 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.05957, allocations: 0.7398 MB / 373.7 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.06001, allocations: 340.5 kB / 374 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-05/0.06007, allocations: 29 kB / 374.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.06011, allocations: 47.5 kB / 374.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 2.555e-06/0.06011, allocations: 0 / 374.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=137): time 0.00364/0.06375, allocations: 2.405 MB / 376.5 MB, free: 3.598 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.0638, allocations: 98.34 kB / 376.6 MB, free: 3.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.06434, allocations: 0.8039 MB / 377.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.0644, allocations: 53.7 kB / 377.5 MB, free: 2.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/0.06492, allocations: 0.6544 MB / 378.1 MB, free: 1.941 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004911/0.06541, allocations: 0.5151 MB / 378.6 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.06575, allocations: 287.3 kB / 378.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.06585, allocations: 309.1 kB / 379.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.06621, allocations: 210.7 kB / 379.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.06673, allocations: 0.6283 MB / 380 MB, free: 15.81 MB / 362.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.002203/0.06894, allocations: 1.814 MB / 381.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.06895, allocations: 4 kB / 381.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003202/0.07215, allocations: 1.875 MB / 383.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.07217, allocations: 8 kB / 383.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.07219, allocations: 16.78 kB / 383.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.07472, allocations: 1.158 MB / 384.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007747/0.07549, allocations: 339.5 kB / 385.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008891/0.08439, allocations: 9.775 MB / 395 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000766/0.08515, allocations: 51.94 kB / 395.1 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.08526, allocations: 63.98 kB / 395.1 MB, free: 4 kB / 362.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 5.051577893736758e-5 * $DER.generator.i_s[3] = 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: 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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0005294/0.08579, allocations: 225.9 kB / 395.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.08597, allocations: 119.9 kB / 395.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.0871, allocations: 0.8757 MB / 396.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.08711, allocations: 20 kB / 396.4 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.08711, allocations: 4 kB / 396.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.08712, allocations: 7.969 kB / 396.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.08959, allocations: 1.73 MB / 398.1 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.0896, allocations: 4 kB / 398.1 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.09067, allocations: 405.1 kB / 398.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/0.09104, allocations: 191.9 kB / 398.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.09115, allocations: 51.91 kB / 398.8 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.09406, allocations: 6.4 MB / 405.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.09406, allocations: 8.031 kB / 405.2 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.09553, allocations: 1.228 MB / 406.4 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.09586, allocations: 195 kB / 406.6 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.09598, allocations: 39.98 kB / 406.6 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.09633, allocations: 28 kB / 406.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.0965, allocations: 109 kB / 406.8 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.09655, allocations: 27.98 kB / 406.8 MB, free: 3.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003263/0.09688, allocations: 382.2 kB / 407.2 MB, free: 3.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09688, allocations: 0 / 407.2 MB, free: 3.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001369/0.09825, allocations: 0.5078 MB / 407.7 MB, free: 2.801 MB / 378.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.0003105/0.09856, allocations: 163.1 kB / 407.8 MB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.1008, allocations: 1.888 MB / 409.7 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.471e-05/0.1008, allocations: 12.5 kB / 409.7 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008346/0.1016, allocations: 0.9741 MB / 410.7 MB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/0.1025, allocations: 319.4 kB / 411 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.1073, allocations: 3.413 MB / 414.4 MB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.1077, allocations: 484.4 kB / 414.9 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005843/0.1083, allocations: 191.9 kB / 415.1 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/0.1089, allocations: 321.2 kB / 415.4 MB, free: 10.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.264e-06/0.1089, allocations: 0 / 415.4 MB, free: 10.84 MB / 394.7 MB Notification: Performance of Templates: time 0.03597/0.1449, allocations: 27.17 MB / 442.6 MB, free: 40 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.8364821593277156]