Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0007643/0.0007643, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.002266, 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.001029/0.001029, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002327, 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.9463/0.9463, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07913/1.025, allocations: 53.66 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.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1125/0.1125, allocations: 29.45 MB / 273.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1189/0.2314, allocations: 9.527 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.926e-06/1.045e-05, allocations: 3.625 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006405/0.006415, allocations: 7.459 MB / 291.7 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006364/0.01278, allocations: 5.385 MB / 297.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.01322, allocations: 35.69 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006858/0.02007, allocations: 5.387 MB / 302.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.02147, allocations: 0.8859 MB / 303.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.02243, allocations: 0.5338 MB / 303.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002819/0.02524, allocations: 2.592 MB / 306.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007165/0.02596, allocations: 0.5188 MB / 307 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.02735, allocations: 1.211 MB / 308.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008523/0.0282, allocations: 0.9232 MB / 309.2 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.02831, allocations: 96 kB / 309.3 MB, free: 5.711 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005444/0.02885, allocations: 391.3 kB / 309.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.02923, allocations: 0.6353 MB / 310.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.02959, allocations: 399.2 kB / 310.7 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000989/0.03058, allocations: 1.18 MB / 311.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.03059, allocations: 0 / 311.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03059, allocations: 0 / 311.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.03061, allocations: 0 / 311.8 MB, free: 3.117 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.001684/0.0323, allocations: 1.725 MB / 313.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.03233, allocations: 8.031 kB / 313.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.03336, allocations: 373.6 kB / 313.9 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008202/0.03418, allocations: 0.7178 MB / 314.7 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.03422, allocations: 73.92 kB / 314.7 MB, free: 152 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.03448, allocations: 175.7 kB / 314.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008285/0.03531, allocations: 0.9268 MB / 315.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.03533, allocations: 3.984 kB / 315.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/0.03539, allocations: 43.98 kB / 315.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002674/0.03566, allocations: 145.9 kB / 316 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.03614, allocations: 382 kB / 316.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/0.03992, allocations: 4.449 MB / 320.8 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.04045, allocations: 483.5 kB / 321.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.04063, allocations: 167.5 kB / 321.5 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.04068, allocations: 17 kB / 321.5 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.0407, allocations: 47.56 kB / 321.5 MB, free: 8.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.093e-06/0.04071, allocations: 3.938 kB / 321.5 MB, free: 8.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.002158/0.04286, allocations: 1.505 MB / 323 MB, free: 7.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.0429, allocations: 90.11 kB / 323.1 MB, free: 7.324 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.04323, allocations: 0.5894 MB / 323.7 MB, free: 6.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.04328, allocations: 41.7 kB / 323.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.04347, allocations: 493.4 kB / 324.2 MB, free: 6.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.04365, allocations: 384.7 kB / 324.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.04385, allocations: 214.7 kB / 324.8 MB, free: 5.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.04396, allocations: 418.5 kB / 325.2 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.04413, allocations: 138.6 kB / 325.4 MB, free: 5.039 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.04443, allocations: 449.1 kB / 325.8 MB, free: 4.469 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.0008362/0.04527, allocations: 1.049 MB / 326.9 MB, free: 3.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.04527, allocations: 4 kB / 326.9 MB, free: 3.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002289/0.04756, allocations: 1.499 MB / 328.4 MB, free: 1.777 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.04758, allocations: 8.625 kB / 328.4 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.04759, allocations: 8 kB / 328.4 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.04912, allocations: 0.9525 MB / 329.3 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.04957, allocations: 227.6 kB / 329.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/0.05578, allocations: 6.252 MB / 335.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.05605, allocations: 51.95 kB / 335.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.05611, allocations: 43.94 kB / 335.9 MB, free: 10.06 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.0002082/0.05632, allocations: 186.4 kB / 336.1 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-05/0.05642, allocations: 87.92 kB / 336.2 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000625/0.05704, allocations: 0.5811 MB / 336.8 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.05705, allocations: 8 kB / 336.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.05705, allocations: 0 / 336.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.05706, allocations: 7.984 kB / 336.8 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.05847, allocations: 1.253 MB / 338 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.05847, allocations: 8.219 kB / 338 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009422/0.05942, allocations: 379 kB / 338.4 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.05959, allocations: 135.2 kB / 338.5 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.808e-05/0.05966, allocations: 47.34 kB / 338.6 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.05971, allocations: 35.98 kB / 338.6 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009523/0.06067, allocations: 2.41 MB / 341 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.06067, allocations: 7.984 kB / 341 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.06147, allocations: 0.8908 MB / 341.9 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/0.06182, allocations: 39.98 kB / 342 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.06204, allocations: 20 kB / 342 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.06212, allocations: 64.81 kB / 342 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.06216, allocations: 20 kB / 342.1 MB, free: 3.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.06232, allocations: 268.5 kB / 342.3 MB, free: 3.309 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06232, allocations: 0 / 342.3 MB, free: 3.309 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006162/0.06294, allocations: 380 kB / 342.7 MB, free: 2.938 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.0001387/0.06308, allocations: 124.2 kB / 342.8 MB, free: 2.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.06443, allocations: 1.382 MB / 344.2 MB, free: 1.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.223e-05/0.06445, allocations: 20.56 kB / 344.2 MB, free: 1.375 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.06481, allocations: 485.6 kB / 344.7 MB, free: 0.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.06534, allocations: 292 kB / 345 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.08042, allocations: 2.585 MB / 347.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.08066, allocations: 372.2 kB / 347.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.08095, allocations: 128.1 kB / 348 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.08131, allocations: 229.3 kB / 348.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of SimCode: time 7.42e-07/0.08131, allocations: 0 / 348.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of Templates: time 0.03144/0.1128, allocations: 19.54 MB / 367.8 MB, free: 9.922 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.309046889655292]