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.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.0009517/0.0009517, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009367/0.0009367, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9549/0.9549, allocations: 177.1 MB / 206 MB, free: 4.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.1239/0.1239, allocations: 29.43 MB / 292 MB, free: 2.625 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_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 370.8 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.693e-05, allocations: 5.797 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006927/0.006954, allocations: 7.317 MB / 378.2 MB, free: 24.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006401/0.01336, allocations: 5.235 MB / 383.4 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.01381, allocations: 39.69 kB / 383.4 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007952/0.02176, allocations: 5.554 MB / 389 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.02312, allocations: 0.8666 MB / 389.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009652/0.02409, allocations: 0.5454 MB / 390.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002332/0.02642, allocations: 2.651 MB / 393.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006145/0.02703, allocations: 0.5478 MB / 393.6 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.02815, allocations: 1.142 MB / 394.8 MB, free: 8.344 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008504/0.029, allocations: 0.9505 MB / 395.7 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.533e-05/0.0291, allocations: 100 kB / 395.8 MB, free: 7.293 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.02958, allocations: 383.5 kB / 396.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.02989, allocations: 0.6897 MB / 396.9 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.03019, allocations: 486.9 kB / 397.3 MB, free: 5.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008457/0.03104, allocations: 1.285 MB / 398.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.03104, allocations: 4 kB / 398.6 MB, free: 4.457 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.03104, allocations: 0 / 398.6 MB, free: 4.457 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.03105, allocations: 0 / 398.6 MB, free: 4.457 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001382/0.03243, allocations: 1.6 MB / 400.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.03246, allocations: 8.031 kB / 400.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007797/0.03324, allocations: 343.7 kB / 400.6 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007835/0.03403, allocations: 0.7907 MB / 401.4 MB, free: 1.656 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.03406, allocations: 69.92 kB / 401.4 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.0343, allocations: 167.8 kB / 401.6 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/0.03506, allocations: 0.9752 MB / 402.6 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.03509, allocations: 11.89 kB / 402.6 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.03515, allocations: 39.98 kB / 402.6 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002873/0.03544, allocations: 149.9 kB / 402.8 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/0.036, allocations: 433.8 kB / 403.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.04033, allocations: 5.632 MB / 408.8 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.04091, allocations: 487.3 kB / 409.3 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.04112, allocations: 190.3 kB / 409.5 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.04117, allocations: 17 kB / 409.5 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.04119, allocations: 46.39 kB / 409.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 2.004e-06/0.0412, allocations: 0 / 409.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.002397/0.04359, allocations: 1.646 MB / 411.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.04363, allocations: 90.11 kB / 411.3 MB, free: 7.246 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.04407, allocations: 0.7136 MB / 412 MB, free: 6.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.04412, allocations: 41.7 kB / 412 MB, free: 6.469 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005573/0.04468, allocations: 0.6356 MB / 412.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.04488, allocations: 392.8 kB / 413.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.04512, allocations: 256.4 kB / 413.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.04531, allocations: 0.6247 MB / 413.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.04552, allocations: 154.5 kB / 414.1 MB, free: 4.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.04592, allocations: 0.61 MB / 414.7 MB, free: 3.605 MB / 330.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.001002/0.04692, allocations: 1.198 MB / 415.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.04693, allocations: 4 kB / 415.9 MB, free: 2.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002438/0.04936, allocations: 1.716 MB / 417.6 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.04938, allocations: 8 kB / 417.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.0494, allocations: 8.625 kB / 417.6 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.05113, allocations: 0.9881 MB / 418.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.05152, allocations: 195.7 kB / 418.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007533/0.05905, allocations: 7.621 MB / 426.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.05941, allocations: 36 kB / 426.5 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/0.05947, allocations: 43.98 kB / 426.5 MB, free: 7.391 MB / 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.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: 41 * 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 (94): * Single equations (assignments): 92 * 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.0002661/0.05974, allocations: 236.9 kB / 426.7 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.05987, allocations: 131.3 kB / 426.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008137/0.06068, allocations: 0.6924 MB / 427.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.06069, allocations: 8 kB / 427.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.06069, allocations: 0 / 427.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.0607, allocations: 3.984 kB / 427.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.06239, allocations: 1.48 MB / 429 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.0624, allocations: 4 kB / 429 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.06311, allocations: 244 kB / 429.3 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-05/0.06319, allocations: 59.27 kB / 429.3 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.06325, allocations: 35.98 kB / 429.4 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.06441, allocations: 3.426 MB / 432.8 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.06442, allocations: 7.984 kB / 432.8 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.06569, allocations: 1.045 MB / 433.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.06588, allocations: 155.2 kB / 434 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/0.06597, allocations: 39.98 kB / 434 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.0662, allocations: 23.94 kB / 434.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.0663, allocations: 72.75 kB / 434.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.06634, allocations: 19.98 kB / 434.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002317/0.06657, allocations: 402.8 kB / 434.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06657, allocations: 4 kB / 434.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007134/0.06728, allocations: 376 kB / 434.9 MB, free: 14.57 MB / 362.7 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.0001286/0.06741, allocations: 135.1 kB / 435.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.06897, allocations: 1.54 MB / 436.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.06897, allocations: 0 / 436.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.06943, allocations: 0.6254 MB / 437.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.07, allocations: 195 kB / 437.4 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.07349, allocations: 3.095 MB / 440.5 MB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.07407, allocations: 372 kB / 440.9 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003091/0.07438, allocations: 135.9 kB / 441 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/0.07474, allocations: 254.1 kB / 441.3 MB, free: 8.055 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.07474, allocations: 4 kB / 441.3 MB, free: 8.051 MB / 362.7 MB Notification: Performance of Templates: time 0.02029/0.09503, allocations: 19.37 MB / 460.6 MB, free: 4.941 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.5051667583175004]