Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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.0009769/0.0009769, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00102/0.00102, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.969/0.969, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2438/0.2438, allocations: 29.41 MB / 291.2 MB, free: 2.488 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_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.656e-05, allocations: 2.312 kB / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.008573/0.008599, allocations: 10.6 MB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007755/0.01635, allocations: 6.021 MB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008802/0.01723, allocations: 67.44 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008492/0.02573, allocations: 6.142 MB / 392.4 MB, free: 4.398 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.02803, allocations: 1.111 MB / 393.5 MB, free: 3.281 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.02949, allocations: 0.7091 MB / 394.3 MB, free: 2.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00353/0.03302, allocations: 3.336 MB / 397.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.03404, allocations: 0.8591 MB / 398.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.03552, allocations: 1.422 MB / 399.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.03689, allocations: 1.313 MB / 401.2 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.03707, allocations: 148 kB / 401.3 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006787/0.03775, allocations: 451.3 kB / 401.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005704/0.03832, allocations: 0.9157 MB / 402.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000554/0.03887, allocations: 0.6508 MB / 403.3 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.04049, allocations: 1.69 MB / 405 MB, free: 7.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.0405, allocations: 0 / 405 MB, free: 7.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0405, allocations: 0 / 405 MB, free: 7.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.04052, allocations: 0 / 405 MB, free: 7.75 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002542/0.04306, allocations: 2.142 MB / 407.2 MB, free: 5.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.0431, allocations: 15.98 kB / 407.2 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.04429, allocations: 475.4 kB / 407.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.0458, allocations: 1.141 MB / 408.8 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.04586, allocations: 102.6 kB / 408.9 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000329/0.04619, allocations: 203.8 kB / 409.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.04781, allocations: 1.432 MB / 410.5 MB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.04785, allocations: 11.95 kB / 410.5 MB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.04795, allocations: 59.97 kB / 410.6 MB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003472/0.0483, allocations: 186.7 kB / 410.8 MB, free: 1.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.04946, allocations: 0.7305 MB / 411.5 MB, free: 1.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006047/0.0555, allocations: 7.234 MB / 418.7 MB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.05667, allocations: 0.8005 MB / 419.5 MB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.05708, allocations: 302.3 kB / 419.8 MB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.223e-05/0.05715, allocations: 25 kB / 419.9 MB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.05718, allocations: 46.39 kB / 419.9 MB, free: 8.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.386e-06/0.05718, allocations: 0 / 419.9 MB, free: 8.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.004377/0.06156, allocations: 2.986 MB / 422.9 MB, free: 5.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.06161, allocations: 94.42 kB / 423 MB, free: 5.184 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000676/0.06229, allocations: 0.8786 MB / 423.9 MB, free: 4.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-05/0.06235, allocations: 49.7 kB / 423.9 MB, free: 4.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.06272, allocations: 0.796 MB / 424.7 MB, free: 3.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.063, allocations: 0.5463 MB / 425.3 MB, free: 2.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.0633, allocations: 321.2 kB / 425.6 MB, free: 2.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.0634, allocations: 480.7 kB / 426 MB, free: 2.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.06384, allocations: 291.8 kB / 426.3 MB, free: 1.789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/0.06455, allocations: 0.922 MB / 427.2 MB, free: 0.6172 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.001864/0.06641, allocations: 1.914 MB / 429.2 MB, free: 14.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.06642, allocations: 8 kB / 429.2 MB, free: 14.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003364/0.06978, allocations: 2.284 MB / 431.4 MB, free: 12.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.06981, allocations: 8 kB / 431.5 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.06983, allocations: 16 kB / 431.5 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.07183, allocations: 1.023 MB / 432.5 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.0725, allocations: 299.5 kB / 432.8 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1378/0.2103, allocations: 11.55 MB / 444.3 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.2111, allocations: 76.67 kB / 444.4 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.374e-05/0.2112, allocations: 68.7 kB / 444.5 MB, free: 104.7 MB / 410.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000416/0.2116, allocations: 266.6 kB / 444.7 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.2117, allocations: 183 kB / 444.9 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.2131, allocations: 1.115 MB / 446 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.2131, allocations: 15.84 kB / 446 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2131, allocations: 10.02 kB / 446.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2131, allocations: 9.859 kB / 446.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.2159, allocations: 2.436 MB / 448.5 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2159, allocations: 6.281 kB / 448.5 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/0.2168, allocations: 319.7 kB / 448.8 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002874/0.217, allocations: 153.9 kB / 449 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.2171, allocations: 44.17 kB / 449 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.2192, allocations: 7.559 MB / 456.6 MB, free: 96.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2192, allocations: 6.281 kB / 456.6 MB, free: 96.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.2209, allocations: 1.613 MB / 458.2 MB, free: 96.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.2212, allocations: 224.4 kB / 458.4 MB, free: 96.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.2213, allocations: 46.77 kB / 458.5 MB, free: 96.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.2216, allocations: 54.14 kB / 458.5 MB, free: 96.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.2218, allocations: 107.7 kB / 458.6 MB, free: 96.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.2218, allocations: 39.12 kB / 458.7 MB, free: 96.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003571/0.2222, allocations: 0.4991 MB / 459.2 MB, free: 95.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2222, allocations: 1.031 kB / 459.2 MB, free: 95.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001038/0.2232, allocations: 481.7 kB / 459.6 MB, free: 95.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,line.v[1,2],line.v[1,3],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,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,1,100.0%), (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.0001565/0.2234, allocations: 160.4 kB / 459.8 MB, free: 95.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.2254, allocations: 2.226 MB / 462 MB, free: 94.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2254, allocations: 0 / 462 MB, free: 94.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007385/0.2262, allocations: 1.175 MB / 463.2 MB, free: 93.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007683/0.2269, allocations: 281.7 kB / 463.5 MB, free: 93.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.2311, allocations: 3.948 MB / 467.4 MB, free: 91.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.2314, allocations: 478.6 kB / 467.9 MB, free: 91.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005648/0.232, allocations: 333.8 kB / 468.2 MB, free: 91.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.2322, allocations: 93.86 kB / 468.3 MB, free: 91.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2322, allocations: 0 / 468.3 MB, free: 91.33 MB / 410.7 MB Notification: Performance of Templates: time 0.02553/0.2577, allocations: 23.39 MB / 491.7 MB, free: 87.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.721221962943673]