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.001017/0.001017, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009818/0.0009818, allocations: 165 kB / 24.56 MB, free: 12 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.9824/0.9824, allocations: 177.1 MB / 205 MB, free: 5.617 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.2231/0.2231, allocations: 29.42 MB / 290.9 MB, free: 2.508 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.412e-06/1.412e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.497e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.009613/0.009628, allocations: 9.265 MB / 378.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007979/0.01761, allocations: 6.029 MB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006094/0.01822, allocations: 67.5 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007472/0.02569, allocations: 5.893 MB / 390.9 MB, free: 5.676 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.02762, allocations: 1.115 MB / 392 MB, free: 4.555 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.02869, allocations: 0.6976 MB / 392.7 MB, free: 3.855 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.03122, allocations: 3.325 MB / 396 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008421/0.03206, allocations: 0.8591 MB / 396.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.0334, allocations: 1.555 MB / 398.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.03483, allocations: 1.227 MB / 399.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.03501, allocations: 136 kB / 399.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005853/0.0356, allocations: 439.3 kB / 400.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000519/0.03611, allocations: 0.904 MB / 401.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005619/0.03668, allocations: 0.6352 MB / 401.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.03809, allocations: 1.658 MB / 403.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.0381, allocations: 3.938 kB / 403.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.0381, allocations: 8 kB / 403.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.03813, allocations: 0 / 403.4 MB, free: 9.07 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.002279/0.04041, allocations: 2.118 MB / 405.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.04044, allocations: 15.98 kB / 405.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.04151, allocations: 479.2 kB / 406 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.04304, allocations: 1.091 MB / 407.1 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/0.04309, allocations: 106.6 kB / 407.2 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/0.0434, allocations: 211.8 kB / 407.4 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.04495, allocations: 1.424 MB / 408.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.04499, allocations: 11.89 kB / 408.9 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/0.04508, allocations: 55.98 kB / 408.9 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003399/0.04542, allocations: 182.7 kB / 409.1 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.04656, allocations: 0.7267 MB / 409.8 MB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0059/0.05246, allocations: 7.238 MB / 417.1 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.05351, allocations: 0.7955 MB / 417.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/0.0539, allocations: 302.3 kB / 418.2 MB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-05/0.05396, allocations: 28.94 kB / 418.2 MB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.054, allocations: 50.39 kB / 418.2 MB, free: 9.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.887e-06/0.05401, allocations: 0 / 418.2 MB, free: 9.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.004562/0.05857, allocations: 2.974 MB / 421.2 MB, free: 6.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.05861, allocations: 90.42 kB / 421.3 MB, free: 6.594 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.05926, allocations: 0.8705 MB / 422.2 MB, free: 5.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/0.05932, allocations: 53.7 kB / 422.2 MB, free: 5.641 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.05969, allocations: 0.8077 MB / 423 MB, free: 4.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.05997, allocations: 0.5307 MB / 423.6 MB, free: 4.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.06027, allocations: 317.1 kB / 423.9 MB, free: 3.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.06036, allocations: 480.7 kB / 424.3 MB, free: 3.496 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.06078, allocations: 303.8 kB / 424.6 MB, free: 3.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.06145, allocations: 0.8992 MB / 425.5 MB, free: 2.059 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.002025/0.06348, allocations: 1.9 MB / 427.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.06349, allocations: 4 kB / 427.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.003151/0.06664, allocations: 2.268 MB / 429.7 MB, free: 13.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.06666, allocations: 8 kB / 429.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.06667, allocations: 16 kB / 429.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.0685, allocations: 1.027 MB / 430.8 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.06907, allocations: 283.6 kB / 431 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009118/0.07819, allocations: 11.56 MB / 442.6 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.07868, allocations: 71.91 kB / 442.7 MB, free: 184 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.004e-05/0.07877, allocations: 71.94 kB / 442.7 MB, free: 112 kB / 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: 58 * 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 (144): * Single equations (assignments): 140 * 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.1423/0.2211, allocations: 264.8 kB / 443 MB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.2214, allocations: 174.1 kB / 443.2 MB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.2232, allocations: 1.121 MB / 444.3 MB, free: 88.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.2232, allocations: 12.94 kB / 444.3 MB, free: 88.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2232, allocations: 6.938 kB / 444.3 MB, free: 88.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.2232, allocations: 6.516 kB / 444.3 MB, free: 88.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/0.2268, allocations: 2.454 MB / 446.8 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.2268, allocations: 3.188 kB / 446.8 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.2279, allocations: 320.7 kB / 447.1 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/0.2282, allocations: 155.7 kB / 447.2 MB, free: 87.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.693e-05/0.2283, allocations: 45.61 kB / 447.3 MB, free: 87.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.2309, allocations: 7.543 MB / 454.8 MB, free: 80.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2309, allocations: 9.812 kB / 454.8 MB, free: 80.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.2329, allocations: 1.613 MB / 456.5 MB, free: 79.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.2332, allocations: 223.1 kB / 456.7 MB, free: 79.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.2333, allocations: 43.73 kB / 456.7 MB, free: 79.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.2338, allocations: 54.55 kB / 456.8 MB, free: 79.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.234, allocations: 104.7 kB / 456.9 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/0.234, allocations: 48.62 kB / 456.9 MB, free: 79.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004071/0.2344, allocations: 0.4939 MB / 457.4 MB, free: 79.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2344, allocations: 0 / 457.4 MB, free: 79.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001434/0.2359, allocations: 482.5 kB / 457.9 MB, free: 79.71 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.0001842/0.2361, allocations: 154.2 kB / 458 MB, free: 79.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.2387, allocations: 2.217 MB / 460.2 MB, free: 78.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2387, allocations: 0 / 460.2 MB, free: 78.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009416/0.2396, allocations: 1.175 MB / 461.4 MB, free: 78.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.2406, allocations: 289.5 kB / 461.7 MB, free: 78.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.2456, allocations: 3.906 MB / 465.6 MB, free: 76.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.246, allocations: 476.3 kB / 466.1 MB, free: 76.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006793/0.2467, allocations: 319.8 kB / 466.4 MB, free: 76.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.247, allocations: 102.2 kB / 466.5 MB, free: 76.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.247, allocations: 0 / 466.5 MB, free: 76.02 MB / 410.7 MB Notification: Performance of Templates: time 0.03203/0.279, allocations: 24.11 MB / 490.6 MB, free: 73.75 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.8715338446199894]