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.001481/0.001481, allocations: 83.58 kB / 20.93 MB, free: 3.617 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.001911/0.001911, allocations: 161 kB / 24.23 MB, free: 324 kB / 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.9684/0.9684, allocations: 177.1 MB / 204.6 MB, free: 5.297 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.2489/0.2489, allocations: 29.42 MB / 290.4 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.573e-06/1.573e-06, allocations: 0 / 368.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.654e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.008364/0.008381, allocations: 10.59 MB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007238/0.01562, allocations: 6.021 MB / 385.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005629/0.01618, allocations: 71.44 kB / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007277/0.02346, allocations: 6.165 MB / 391.7 MB, free: 4.398 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.02517, allocations: 1.103 MB / 392.8 MB, free: 3.289 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.0263, allocations: 0.7014 MB / 393.5 MB, free: 2.586 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002341/0.02864, allocations: 3.344 MB / 396.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000988/0.02963, allocations: 0.863 MB / 397.7 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.03069, allocations: 1.418 MB / 399.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.03173, allocations: 1.325 MB / 400.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.03188, allocations: 144 kB / 400.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005172/0.0324, allocations: 447.3 kB / 401 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005195/0.03292, allocations: 0.9118 MB / 401.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.03342, allocations: 0.6469 MB / 402.6 MB, free: 9.457 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.03483, allocations: 1.69 MB / 404.3 MB, free: 7.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.03483, allocations: 4 kB / 404.3 MB, free: 7.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.03483, allocations: 3.938 kB / 404.3 MB, free: 7.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.03485, allocations: 4 kB / 404.3 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.002587/0.03744, allocations: 2.142 MB / 406.4 MB, free: 5.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.03747, allocations: 11.98 kB / 406.4 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.03851, allocations: 479.4 kB / 406.9 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.03985, allocations: 1.138 MB / 408 MB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.03991, allocations: 102.6 kB / 408.1 MB, free: 3.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/0.04019, allocations: 211.8 kB / 408.4 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.04168, allocations: 1.424 MB / 409.8 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.04171, allocations: 11.89 kB / 409.8 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.952e-05/0.0418, allocations: 55.97 kB / 409.8 MB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003239/0.04213, allocations: 182.7 kB / 410 MB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.04321, allocations: 0.7306 MB / 410.8 MB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005779/0.04899, allocations: 7.238 MB / 418 MB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.05002, allocations: 0.8005 MB / 418.8 MB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.05042, allocations: 298.3 kB / 419.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.05048, allocations: 21 kB / 419.1 MB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.05077, allocations: 58.38 kB / 419.2 MB, free: 8.332 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 2.776e-06/0.05077, allocations: 0 / 419.2 MB, free: 8.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.004156/0.05492, allocations: 2.978 MB / 422.1 MB, free: 5.309 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.05497, allocations: 94.42 kB / 422.2 MB, free: 5.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006554/0.05563, allocations: 0.8747 MB / 423.1 MB, free: 4.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.0557, allocations: 53.7 kB / 423.2 MB, free: 4.238 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/0.05619, allocations: 0.8038 MB / 424 MB, free: 3.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/0.05655, allocations: 0.5307 MB / 424.5 MB, free: 2.887 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/0.05696, allocations: 321.1 kB / 424.8 MB, free: 2.566 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.05707, allocations: 484.7 kB / 425.3 MB, free: 2.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.05763, allocations: 291.8 kB / 425.6 MB, free: 1.805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.05877, allocations: 0.926 MB / 426.5 MB, free: 0.6289 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.002325/0.0611, allocations: 1.926 MB / 428.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.0611, allocations: 4 kB / 428.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004179/0.06528, allocations: 2.276 MB / 430.7 MB, free: 12.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.06531, allocations: 12.72 kB / 430.7 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.06533, allocations: 16 kB / 430.7 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002405/0.06773, allocations: 1.027 MB / 431.8 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/0.06855, allocations: 299.5 kB / 432 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1444/0.2129, allocations: 11.54 MB / 443.6 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007848/0.2137, allocations: 69.75 kB / 443.7 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.2138, allocations: 70.28 kB / 443.7 MB, free: 104.3 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.0004443/0.2143, allocations: 268.9 kB / 444 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.2144, allocations: 180.8 kB / 444.2 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.2159, allocations: 1.119 MB / 445.3 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.2159, allocations: 15.62 kB / 445.3 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2159, allocations: 0 / 445.3 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2159, allocations: 9.375 kB / 445.3 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.2188, allocations: 2.447 MB / 447.8 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2188, allocations: 3.156 kB / 447.8 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008316/0.2196, allocations: 324.9 kB / 448.1 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000297/0.2199, allocations: 147.9 kB / 448.2 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/0.22, allocations: 50.5 kB / 448.3 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.2222, allocations: 7.55 MB / 455.8 MB, free: 96.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2222, allocations: 10 kB / 455.8 MB, free: 96.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.2238, allocations: 1.612 MB / 457.4 MB, free: 95.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.2241, allocations: 229.5 kB / 457.7 MB, free: 95.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.2242, allocations: 40.97 kB / 457.7 MB, free: 95.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.2245, allocations: 54.22 kB / 457.8 MB, free: 95.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.2246, allocations: 111.8 kB / 457.9 MB, free: 95.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.4e-05/0.2247, allocations: 36.84 kB / 457.9 MB, free: 95.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003621/0.2251, allocations: 0.5005 MB / 458.4 MB, free: 95.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2251, allocations: 0 / 458.4 MB, free: 95.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001028/0.2261, allocations: 489.5 kB / 458.9 MB, free: 95.66 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.0001542/0.2263, allocations: 154.3 kB / 459 MB, free: 95.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.2282, allocations: 2.226 MB / 461.3 MB, free: 94.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2282, allocations: 0 / 461.3 MB, free: 94.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.2289, allocations: 1.176 MB / 462.4 MB, free: 93.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.2297, allocations: 282.1 kB / 462.7 MB, free: 93.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.234, allocations: 3.957 MB / 466.7 MB, free: 91.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.2343, allocations: 478.5 kB / 467.1 MB, free: 91.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005208/0.2348, allocations: 327.7 kB / 467.5 MB, free: 91.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.235, allocations: 96.5 kB / 467.5 MB, free: 91.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.235, allocations: 0 / 467.5 MB, free: 91.15 MB / 410.7 MB Notification: Performance of Templates: time 0.02609/0.2611, allocations: 23.39 MB / 490.9 MB, free: 87.36 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.8656619139946997]