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.001024/0.001024, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.0009962/0.0009962, allocations: 166.2 kB / 24.99 MB, free: 9.324 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.9368/0.9368, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2128/0.2128, allocations: 29.41 MB / 291.2 MB, free: 2.508 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 9.22e-07/9.22e-07, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.247e-05, allocations: 2.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006375/0.006387, allocations: 8.156 MB / 377.8 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005825/0.01221, allocations: 5.296 MB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.01271, allocations: 35.69 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006999/0.01971, allocations: 5.878 MB / 389 MB, free: 7.898 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.02084, allocations: 0.8666 MB / 389.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.02162, allocations: 0.5454 MB / 390.4 MB, free: 6.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.02365, allocations: 2.631 MB / 393 MB, free: 3.844 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004817/0.02413, allocations: 0.5478 MB / 393.6 MB, free: 3.285 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006942/0.02482, allocations: 1.021 MB / 394.6 MB, free: 2.262 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007956/0.02562, allocations: 1.029 MB / 395.6 MB, free: 1.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.02573, allocations: 104 kB / 395.7 MB, free: 1.129 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.02615, allocations: 395.4 kB / 396.1 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003895/0.02654, allocations: 0.7092 MB / 396.8 MB, free: 32 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.0269, allocations: 490.9 kB / 397.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.02791, allocations: 1.3 MB / 398.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.02791, allocations: 0 / 398.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02792, allocations: 0 / 398.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.02793, allocations: 0 / 398.6 MB, free: 14.25 MB / 378.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.001915/0.02984, allocations: 1.67 MB / 400.3 MB, free: 12.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.02987, allocations: 15.97 kB / 400.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008338/0.03071, allocations: 371.7 kB / 400.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009828/0.03169, allocations: 0.8688 MB / 401.5 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.03173, allocations: 73.92 kB / 401.6 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/0.03199, allocations: 175.7 kB / 401.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.03305, allocations: 1.077 MB / 402.8 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.03307, allocations: 0 / 402.8 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.594e-05/0.03314, allocations: 43.98 kB / 402.9 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002974/0.03343, allocations: 149.9 kB / 403 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007701/0.0342, allocations: 0.5308 MB / 403.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/0.03838, allocations: 5.73 MB / 409.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.03905, allocations: 0.5193 MB / 409.8 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.03933, allocations: 222.3 kB / 410 MB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.03937, allocations: 21 kB / 410 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.0394, allocations: 50.39 kB / 410.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.775e-06/0.0394, allocations: 3.984 kB / 410.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.002809/0.04221, allocations: 2.096 MB / 412.2 MB, free: 124 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.04225, allocations: 86.11 kB / 412.3 MB, free: 16 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.04275, allocations: 0.7296 MB / 413 MB, free: 15.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.0428, allocations: 41.7 kB / 413 MB, free: 15.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.0433, allocations: 0.6319 MB / 413.7 MB, free: 14.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.0435, allocations: 396.7 kB / 414.1 MB, free: 14.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.04372, allocations: 244.5 kB / 414.3 MB, free: 13.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.0439, allocations: 0.6172 MB / 414.9 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.04423, allocations: 230.4 kB / 415.1 MB, free: 13.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005376/0.04477, allocations: 0.6839 MB / 415.8 MB, free: 12.22 MB / 394.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.001299/0.04607, allocations: 1.393 MB / 417.2 MB, free: 10.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.04607, allocations: 0 / 417.2 MB, free: 10.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002703/0.04878, allocations: 1.903 MB / 419.1 MB, free: 8.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.04879, allocations: 12.62 kB / 419.1 MB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.04881, allocations: 8 kB / 419.1 MB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/0.05112, allocations: 1.037 MB / 420.2 MB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.05163, allocations: 199.6 kB / 420.4 MB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008135/0.05977, allocations: 7.997 MB / 428.4 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.06036, allocations: 55.91 kB / 428.4 MB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/0.06044, allocations: 55.98 kB / 428.5 MB, free: 15.13 MB / 410.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: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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.0003327/0.06077, allocations: 228.3 kB / 428.7 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.06091, allocations: 135.3 kB / 428.8 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.06192, allocations: 0.7667 MB / 429.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.06192, allocations: 11.94 kB / 429.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.06193, allocations: 7.984 kB / 429.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.06194, allocations: 7.984 kB / 429.6 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.06406, allocations: 1.745 MB / 431.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.06407, allocations: 7.984 kB / 431.4 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/0.06483, allocations: 271.9 kB / 431.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.06493, allocations: 47.34 kB / 431.7 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.06499, allocations: 35.98 kB / 431.7 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.0664, allocations: 3.46 MB / 435.2 MB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.0664, allocations: 4 kB / 435.2 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.06761, allocations: 1.142 MB / 436.3 MB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.06784, allocations: 175.2 kB / 436.5 MB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.06792, allocations: 35.98 kB / 436.5 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.06819, allocations: 35.97 kB / 436.6 MB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.06831, allocations: 76.78 kB / 436.7 MB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.06834, allocations: 28 kB / 436.7 MB, free: 6.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003081/0.06865, allocations: 430.9 kB / 437.1 MB, free: 6.094 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06865, allocations: 0 / 437.1 MB, free: 6.094 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000835/0.06949, allocations: 376 kB / 437.5 MB, free: 5.727 MB / 410.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.0001473/0.06963, allocations: 143 kB / 437.6 MB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.07177, allocations: 1.649 MB / 439.3 MB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.07177, allocations: 0 / 439.3 MB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.07228, allocations: 0.649 MB / 439.9 MB, free: 3.203 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.07287, allocations: 197.9 kB / 440.1 MB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1214/0.1943, allocations: 3.178 MB / 443.3 MB, free: 91.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.1947, allocations: 363.8 kB / 443.6 MB, free: 91.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005601/0.1953, allocations: 255 kB / 443.9 MB, free: 91.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.1955, allocations: 70.44 kB / 444 MB, free: 91.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1955, allocations: 0 / 444 MB, free: 91.41 MB / 410.7 MB Notification: Performance of Templates: time 0.01935/0.2148, allocations: 18.19 MB / 462.1 MB, free: 90.19 MB / 410.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.5130529061425477]