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.0009617/0.0009617, allocations: 80.92 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.0009894/0.0009894, allocations: 176.3 kB / 24.92 MB, free: 8.652 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2537/0.2537, allocations: 29.42 MB / 291.2 MB, free: 2.41 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_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 2.034e-06/2.034e-06, allocations: 0 / 316.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.05e-05, allocations: 5.797 kB / 316.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.0125/0.01253, allocations: 9.533 MB / 326.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.02623, allocations: 6.911 MB / 333.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.02837, allocations: 67.44 kB / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02396/0.05233, allocations: 13.72 MB / 347.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004538/0.05687, allocations: 1.134 MB / 348.2 MB, free: 484 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.05928, allocations: 0.7092 MB / 348.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00732/0.0666, allocations: 4.089 MB / 353 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.06847, allocations: 0.8943 MB / 353.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.07289, allocations: 1.566 MB / 355.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.07536, allocations: 1.223 MB / 356.7 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005066/0.07587, allocations: 136 kB / 356.9 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.07761, allocations: 0.5576 MB / 357.4 MB, free: 7.246 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009813/0.07859, allocations: 0.9468 MB / 358.4 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009552/0.07954, allocations: 0.6508 MB / 359 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.08203, allocations: 1.873 MB / 360.9 MB, free: 3.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.08204, allocations: 0 / 360.9 MB, free: 3.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.08204, allocations: 0 / 360.9 MB, free: 3.766 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.046e-05/0.08211, allocations: 0 / 360.9 MB, free: 3.766 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.002879/0.08499, allocations: 1.965 MB / 362.8 MB, free: 1.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.08503, allocations: 15.98 kB / 362.9 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.08626, allocations: 420.4 kB / 363.3 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.08806, allocations: 0.9863 MB / 364.3 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.08813, allocations: 98.66 kB / 364.4 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/0.08851, allocations: 223.8 kB / 364.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.08997, allocations: 1.283 MB / 365.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/0.09001, allocations: 3.953 kB / 365.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.62e-05/0.09011, allocations: 67.97 kB / 365.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/0.09045, allocations: 190.6 kB / 366.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008754/0.09133, allocations: 0.5728 MB / 366.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005996/0.09733, allocations: 6.031 MB / 372.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009214/0.09825, allocations: 0.7399 MB / 373.5 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.09873, allocations: 340.5 kB / 373.8 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.025e-05/0.0988, allocations: 24.98 kB / 373.8 MB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.09884, allocations: 55.44 kB / 373.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 5.07e-06/0.09885, allocations: 0 / 373.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=137): time 0.004191/0.103, allocations: 2.401 MB / 376.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1031, allocations: 94.45 kB / 376.4 MB, free: 3.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.1037, allocations: 0.8156 MB / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.1038, allocations: 45.7 kB / 377.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.1041, allocations: 0.6504 MB / 377.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005754/0.1046, allocations: 0.519 MB / 378.4 MB, free: 1.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.1049, allocations: 295.3 kB / 378.7 MB, free: 1.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.105, allocations: 309 kB / 379 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.1053, allocations: 206.8 kB / 379.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.1058, allocations: 0.6398 MB / 379.8 MB, free: 4 kB / 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.001969/0.1077, allocations: 1.803 MB / 381.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.1077, allocations: 4 kB / 381.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003059/0.1108, allocations: 1.879 MB / 383.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.1108, allocations: 12 kB / 383.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.1109, allocations: 16.09 kB / 383.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/0.1133, allocations: 1.161 MB / 384.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/0.1142, allocations: 343.5 kB / 385 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009848/0.124, allocations: 9.76 MB / 394.8 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.1251, allocations: 52 kB / 394.8 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.1252, allocations: 56 kB / 394.9 MB, free: 224 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.0006528/0.1259, allocations: 229.6 kB / 395.1 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.1261, allocations: 127.8 kB / 395.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.1273, allocations: 0.8873 MB / 396.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.1273, allocations: 12 kB / 396.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1273, allocations: 4 kB / 396.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.1273, allocations: 7.969 kB / 396.2 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.13, allocations: 1.73 MB / 397.9 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.13, allocations: 0 / 397.9 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.1311, allocations: 413.4 kB / 398.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003679/0.1314, allocations: 187.9 kB / 398.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.647e-05/0.1315, allocations: 43.97 kB / 398.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003336/0.1349, allocations: 6.416 MB / 404.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1349, allocations: 3.984 kB / 404.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.1365, allocations: 1.228 MB / 406.2 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.1369, allocations: 191 kB / 406.3 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.137, allocations: 39.98 kB / 406.4 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.1374, allocations: 32 kB / 406.4 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.1376, allocations: 101 kB / 406.5 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.1376, allocations: 31.98 kB / 406.5 MB, free: 3.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006827/0.1383, allocations: 394.2 kB / 406.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1383, allocations: 0 / 406.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001478/0.1398, allocations: 0.4999 MB / 407.4 MB, free: 3 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.0003093/0.1401, allocations: 157.7 kB / 407.6 MB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.1424, allocations: 1.888 MB / 409.5 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.586e-05/0.1424, allocations: 16.5 kB / 409.5 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008927/0.1433, allocations: 0.9769 MB / 410.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009363/0.1442, allocations: 318.8 kB / 410.8 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/0.1496, allocations: 3.393 MB / 414.2 MB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.1501, allocations: 488.4 kB / 414.7 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006269/0.1507, allocations: 191.9 kB / 414.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/0.1513, allocations: 325.1 kB / 415.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.784e-06/0.1513, allocations: 0 / 415.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of Templates: time 0.03521/0.1865, allocations: 27.17 MB / 442.3 MB, free: 260 kB / 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.712320293765515]