Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001372/0.001372, 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.00149/0.00149, allocations: 165.9 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.9128/0.9128, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2317/0.2317, allocations: 29.42 MB / 291.2 MB, free: 2.516 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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_DFIG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_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.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.1e-05, allocations: 5.594 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.009604/0.009625, allocations: 10.6 MB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007307/0.01693, allocations: 6.02 MB / 386.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006455/0.01758, allocations: 67.44 kB / 386.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007643/0.02522, allocations: 6.149 MB / 392.4 MB, free: 4.418 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.02693, allocations: 1.107 MB / 393.6 MB, free: 3.305 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.02818, allocations: 0.7052 MB / 394.3 MB, free: 2.598 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003107/0.03128, allocations: 3.34 MB / 397.6 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.03245, allocations: 0.8551 MB / 398.5 MB, free: 14.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.03409, allocations: 1.422 MB / 399.9 MB, free: 12.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.0355, allocations: 1.321 MB / 401.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.03568, allocations: 144 kB / 401.3 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006295/0.03631, allocations: 455.3 kB / 401.8 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005643/0.03687, allocations: 0.9157 MB / 402.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005561/0.03743, allocations: 0.643 MB / 403.3 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.03899, allocations: 1.69 MB / 405 MB, free: 7.773 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.03899, allocations: 0 / 405 MB, free: 7.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03899, allocations: 0 / 405 MB, free: 7.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.03902, allocations: 0 / 405 MB, free: 7.773 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.002601/0.04162, allocations: 2.15 MB / 407.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.04166, allocations: 11.98 kB / 407.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.04279, allocations: 479.4 kB / 407.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.04427, allocations: 1.141 MB / 408.8 MB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.04432, allocations: 98.62 kB / 408.9 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/0.04464, allocations: 203.8 kB / 409.1 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.04624, allocations: 1.436 MB / 410.5 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.04627, allocations: 11.95 kB / 410.5 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/0.04637, allocations: 51.98 kB / 410.6 MB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003542/0.04672, allocations: 182.7 kB / 410.8 MB, free: 1.809 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.04792, allocations: 0.7383 MB / 411.5 MB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006063/0.05398, allocations: 7.238 MB / 418.8 MB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.05505, allocations: 0.79 MB / 419.5 MB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.05545, allocations: 305.1 kB / 419.8 MB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-05/0.05552, allocations: 25 kB / 419.9 MB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.05555, allocations: 50.39 kB / 419.9 MB, free: 8.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.086e-06/0.05555, allocations: 0 / 419.9 MB, free: 8.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.004245/0.0598, allocations: 2.974 MB / 422.9 MB, free: 5.332 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.05985, allocations: 98.42 kB / 423 MB, free: 5.215 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.06051, allocations: 0.8747 MB / 423.9 MB, free: 4.316 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.06057, allocations: 49.7 kB / 423.9 MB, free: 4.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.06095, allocations: 0.8077 MB / 424.7 MB, free: 3.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.06123, allocations: 0.5307 MB / 425.2 MB, free: 2.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/0.06153, allocations: 325.1 kB / 425.6 MB, free: 2.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.06163, allocations: 488.7 kB / 426 MB, free: 2.102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.06208, allocations: 295.8 kB / 426.3 MB, free: 1.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000702/0.06278, allocations: 0.922 MB / 427.2 MB, free: 0.6406 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.001826/0.06461, allocations: 1.914 MB / 429.2 MB, free: 14.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.06461, allocations: 4 kB / 429.2 MB, free: 14.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003406/0.06802, allocations: 2.28 MB / 431.4 MB, free: 12.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.06804, allocations: 12 kB / 431.5 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.06806, allocations: 12 kB / 431.5 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.06996, allocations: 1.024 MB / 432.5 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.07057, allocations: 299.5 kB / 432.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1458/0.2164, allocations: 11.55 MB / 444.3 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007902/0.2171, allocations: 65.47 kB / 444.4 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.2172, allocations: 74.27 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.0004317/0.2177, allocations: 270.2 kB / 444.7 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.2179, allocations: 179.7 kB / 444.9 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.2192, allocations: 1.117 MB / 446 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2192, allocations: 12.09 kB / 446 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2192, allocations: 3.031 kB / 446 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.2192, allocations: 7.641 kB / 446.1 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.222, allocations: 2.447 MB / 448.5 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.222, allocations: 3.156 kB / 448.5 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000813/0.2228, allocations: 324.4 kB / 448.8 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002824/0.2231, allocations: 154.5 kB / 449 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/0.2232, allocations: 48.75 kB / 449 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.2253, allocations: 7.553 MB / 456.6 MB, free: 96.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2253, allocations: 7.125 kB / 456.6 MB, free: 96.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.227, allocations: 1.613 MB / 458.2 MB, free: 96.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.2273, allocations: 226.2 kB / 458.4 MB, free: 96.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.2274, allocations: 43.81 kB / 458.5 MB, free: 96.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.2277, allocations: 57.03 kB / 458.5 MB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.2279, allocations: 108.2 kB / 458.6 MB, free: 96.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.2279, allocations: 35.19 kB / 458.7 MB, free: 96.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003497/0.2283, allocations: 0.5027 MB / 459.2 MB, free: 95.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2283, allocations: 0 / 459.2 MB, free: 95.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001071/0.2293, allocations: 484.8 kB / 459.6 MB, free: 95.93 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.0001564/0.2295, allocations: 150.3 kB / 459.8 MB, free: 95.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.2316, allocations: 2.237 MB / 462 MB, free: 94.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2316, allocations: 0 / 462 MB, free: 94.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000784/0.2324, allocations: 1.17 MB / 463.2 MB, free: 93.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007798/0.2332, allocations: 276.6 kB / 463.5 MB, free: 93.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.2375, allocations: 3.952 MB / 467.4 MB, free: 91.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.2379, allocations: 478 kB / 467.9 MB, free: 91.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000539/0.2384, allocations: 330.5 kB / 468.2 MB, free: 91.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.2386, allocations: 97.73 kB / 468.3 MB, free: 91.42 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2386, allocations: 0 / 468.3 MB, free: 91.42 MB / 410.7 MB Notification: Performance of Templates: time 0.02507/0.2637, allocations: 23.39 MB / 491.7 MB, free: 87.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.8251091379206628]