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.0008966/0.0008966, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009078/0.0009078, allocations: 168.8 kB / 24.91 MB, free: 9.145 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.9919/0.9919, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2739/0.2739, allocations: 29.42 MB / 291.2 MB, free: 2.492 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.503e-06/1.503e-06, allocations: 0 / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.571e-05, allocations: 5.297 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006405/0.006421, allocations: 7.386 MB / 324.2 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005919/0.01234, allocations: 5.351 MB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.01267, allocations: 35.69 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005863/0.01853, allocations: 5.351 MB / 335 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009736/0.0195, allocations: 0.8665 MB / 335.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/0.02018, allocations: 0.5493 MB / 336.4 MB, free: 12.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.02203, allocations: 2.628 MB / 339 MB, free: 9.734 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005139/0.02255, allocations: 0.5809 MB / 339.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009465/0.02349, allocations: 1.138 MB / 340.7 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000761/0.02425, allocations: 0.8921 MB / 341.6 MB, free: 7.098 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.02437, allocations: 100 kB / 341.7 MB, free: 7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.02483, allocations: 395.3 kB / 342.1 MB, free: 6.613 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004135/0.02524, allocations: 0.6975 MB / 342.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003781/0.02562, allocations: 478.9 kB / 343.3 MB, free: 5.445 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.02666, allocations: 1.285 MB / 344.6 MB, free: 4.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.02666, allocations: 0 / 344.6 MB, free: 4.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.02667, allocations: 0 / 344.6 MB, free: 4.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.02668, allocations: 0 / 344.6 MB, free: 4.156 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.001562/0.02824, allocations: 1.432 MB / 346 MB, free: 2.695 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.02828, allocations: 19.98 kB / 346 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000994/0.02927, allocations: 288.6 kB / 346.3 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000858/0.03013, allocations: 0.7178 MB / 347 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.03017, allocations: 77.92 kB / 347.1 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/0.03044, allocations: 171.8 kB / 347.3 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009076/0.03135, allocations: 0.9345 MB / 348.2 MB, free: 392 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.03137, allocations: 7.938 kB / 348.2 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/0.03143, allocations: 35.98 kB / 348.2 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002856/0.03172, allocations: 153.9 kB / 348.4 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/0.03229, allocations: 416.9 kB / 348.8 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.03612, allocations: 4.434 MB / 353.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.03673, allocations: 484.2 kB / 353.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.03692, allocations: 159.6 kB / 353.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-05/0.03698, allocations: 17 kB / 353.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.03701, allocations: 43.56 kB / 353.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 2.144e-06/0.03701, allocations: 0 / 353.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.002349/0.03936, allocations: 1.517 MB / 355.4 MB, free: 8.824 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.0394, allocations: 90.09 kB / 355.5 MB, free: 8.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.03976, allocations: 0.5933 MB / 356.1 MB, free: 8.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.03981, allocations: 45.7 kB / 356.2 MB, free: 8.062 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.04002, allocations: 481.5 kB / 356.6 MB, free: 7.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.0402, allocations: 384.7 kB / 357 MB, free: 7.207 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.04042, allocations: 222.7 kB / 357.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.04054, allocations: 414.5 kB / 357.6 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.04075, allocations: 165.4 kB / 357.8 MB, free: 6.406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.04108, allocations: 457.1 kB / 358.2 MB, free: 5.832 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.0009182/0.042, allocations: 1.067 MB / 359.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.042, allocations: 4 kB / 359.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002128/0.04413, allocations: 1.503 MB / 360.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.04415, allocations: 8.625 kB / 360.8 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.04416, allocations: 12 kB / 360.8 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.04609, allocations: 0.9829 MB / 361.8 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/0.0467, allocations: 219.3 kB / 362 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008201/0.0549, allocations: 6.23 MB / 368.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.05531, allocations: 47.97 kB / 368.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.05539, allocations: 40 kB / 368.3 MB, free: 11.4 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.0002679/0.05566, allocations: 180.4 kB / 368.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.0558, allocations: 83.92 kB / 368.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008557/0.05665, allocations: 0.5889 MB / 369.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.05666, allocations: 12 kB / 369.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.05667, allocations: 0 / 369.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.05667, allocations: 3.984 kB / 369.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.05858, allocations: 1.265 MB / 370.5 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.05859, allocations: 224 / 370.5 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.05984, allocations: 367.2 kB / 370.8 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.666e-05/0.05993, allocations: 55.22 kB / 370.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/0.06001, allocations: 35.97 kB / 370.9 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.06118, allocations: 2.398 MB / 373.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.06118, allocations: 7.938 kB / 373.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.06225, allocations: 0.8947 MB / 374.2 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.06247, allocations: 135.3 kB / 374.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.06258, allocations: 36.03 kB / 374.4 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.06288, allocations: 24 kB / 374.4 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.06301, allocations: 72.75 kB / 374.5 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.06306, allocations: 16 kB / 374.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000248/0.0633, allocations: 276.5 kB / 374.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0633, allocations: 0 / 374.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008789/0.06418, allocations: 372 kB / 375.1 MB, free: 4.273 MB / 346.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.0001541/0.06434, allocations: 124.2 kB / 375.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.06617, allocations: 1.355 MB / 376.6 MB, free: 2.758 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/0.06618, allocations: 12.81 kB / 376.6 MB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004949/0.06668, allocations: 0.4898 MB / 377.1 MB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.06737, allocations: 209.8 kB / 377.3 MB, free: 2.027 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.07125, allocations: 2.613 MB / 379.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.07158, allocations: 364.1 kB / 380.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003893/0.07197, allocations: 128.1 kB / 380.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/0.07247, allocations: 225.3 kB / 380.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.07247, allocations: 0 / 380.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Templates: time 0.02584/0.09831, allocations: 19.15 MB / 399.8 MB, free: 11.75 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.361298782750964]