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.001051/0.001051, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.002528, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007529/0.0007529, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.001785, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9728/0.9728, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07784/1.051, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.1152/0.1152, allocations: 29.42 MB / 273.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1116/0.2267, allocations: 9.52 MB / 282.9 MB, free: 12.84 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_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.352e-06/1.352e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.473e-05, allocations: 3.297 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01085/0.01086, allocations: 7.435 MB / 291.6 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.02131, allocations: 5.388 MB / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004637/0.02178, allocations: 43.62 kB / 297.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006298/0.02807, allocations: 5.072 MB / 302.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.02935, allocations: 0.8937 MB / 303 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.03044, allocations: 0.5378 MB / 303.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.03256, allocations: 2.596 MB / 306.2 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006263/0.03318, allocations: 0.5264 MB / 306.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.03429, allocations: 1.207 MB / 307.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00086/0.03515, allocations: 0.9193 MB / 308.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.03527, allocations: 96 kB / 308.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.03582, allocations: 395.3 kB / 309.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003989/0.03622, allocations: 0.6314 MB / 309.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.03658, allocations: 391.2 kB / 310.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.03783, allocations: 1.184 MB / 311.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.03784, allocations: 0 / 311.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03785, allocations: 4 kB / 311.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.03787, allocations: 0 / 311.5 MB, free: 3.391 MB / 298.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.001652/0.03952, allocations: 1.725 MB / 313.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.03954, allocations: 8.031 kB / 313.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000768/0.04031, allocations: 373.6 kB / 313.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008159/0.04113, allocations: 0.7178 MB / 314.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.04116, allocations: 73.92 kB / 314.4 MB, free: 432 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002539/0.04142, allocations: 171.8 kB / 314.6 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.04227, allocations: 0.9306 MB / 315.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.04229, allocations: 0 / 315.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.04235, allocations: 47.92 kB / 315.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002827/0.04263, allocations: 153.8 kB / 315.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.04311, allocations: 378 kB / 316.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003733/0.04684, allocations: 4.453 MB / 320.5 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.04738, allocations: 487.2 kB / 321 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.04756, allocations: 163.6 kB / 321.1 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.0476, allocations: 20.94 kB / 321.2 MB, free: 9.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.04762, allocations: 43.56 kB / 321.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.114e-06/0.04763, allocations: 0 / 321.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.002212/0.04984, allocations: 1.509 MB / 322.7 MB, free: 7.695 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.04987, allocations: 90.11 kB / 322.8 MB, free: 7.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.05022, allocations: 0.5894 MB / 323.4 MB, free: 6.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.05026, allocations: 45.7 kB / 323.4 MB, free: 6.938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.05047, allocations: 485.5 kB / 323.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.05065, allocations: 380.8 kB / 324.3 MB, free: 6.082 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.05085, allocations: 214.7 kB / 324.5 MB, free: 5.863 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004313/0.05128, allocations: 422.5 kB / 324.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.05147, allocations: 138.6 kB / 325 MB, free: 5.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.05178, allocations: 456.8 kB / 325.5 MB, free: 4.73 MB / 314.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.0008572/0.05264, allocations: 1.038 MB / 326.5 MB, free: 3.574 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.05264, allocations: 0 / 326.5 MB, free: 3.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002109/0.05475, allocations: 1.499 MB / 328 MB, free: 2.055 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.05477, allocations: 8.625 kB / 328 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.05478, allocations: 11.94 kB / 328 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.05636, allocations: 0.9602 MB / 329 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.05684, allocations: 227.6 kB / 329.2 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/0.0634, allocations: 6.255 MB / 335.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.06376, allocations: 47.97 kB / 335.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.06383, allocations: 40 kB / 335.6 MB, free: 10.34 MB / 330.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.0002672/0.06409, allocations: 184.4 kB / 335.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.0642, allocations: 83.92 kB / 335.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006728/0.06487, allocations: 0.5811 MB / 336.4 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.06487, allocations: 8 kB / 336.4 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.06488, allocations: 4 kB / 336.4 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.06489, allocations: 3.984 kB / 336.4 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.06637, allocations: 1.265 MB / 337.7 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.06637, allocations: 4.219 kB / 337.7 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009809/0.06735, allocations: 379.3 kB / 338.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.06752, allocations: 127.3 kB / 338.2 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.493e-05/0.0676, allocations: 47.34 kB / 338.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.06765, allocations: 39.98 kB / 338.3 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.06886, allocations: 2.414 MB / 340.7 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.06886, allocations: 11.88 kB / 340.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008236/0.06968, allocations: 0.8869 MB / 341.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/0.06977, allocations: 35.98 kB / 341.6 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.06999, allocations: 24 kB / 341.6 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.07008, allocations: 64.81 kB / 341.7 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.07011, allocations: 20 kB / 341.7 MB, free: 3.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.07029, allocations: 272.5 kB / 342 MB, free: 3.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07029, allocations: 0 / 342 MB, free: 3.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007405/0.07103, allocations: 376 kB / 342.4 MB, free: 3.211 MB / 330.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.0001401/0.07117, allocations: 120.3 kB / 342.5 MB, free: 3.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.07261, allocations: 1.391 MB / 343.9 MB, free: 1.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.217e-05/0.07263, allocations: 16.56 kB / 343.9 MB, free: 1.648 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.073, allocations: 489.6 kB / 344.4 MB, free: 1.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.07358, allocations: 289.9 kB / 344.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.0896, allocations: 2.584 MB / 347.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.0899, allocations: 372.1 kB / 347.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00044/0.09034, allocations: 132.1 kB / 347.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.0907, allocations: 229.3 kB / 348 MB, free: 13.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.833e-06/0.09071, allocations: 0 / 348 MB, free: 13.47 MB / 346.7 MB Notification: Performance of Templates: time 0.02142/0.1121, allocations: 19.54 MB / 367.5 MB, free: 10.18 MB / 362.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.1373521592468023]