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.001224/0.001224, 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.001395/0.001395, 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.9517/0.9517, allocations: 177.1 MB / 205 MB, free: 5.629 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.2403/0.2403, allocations: 29.42 MB / 290.9 MB, free: 2.496 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 2.134e-06/2.134e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/3e-05, allocations: 5.969 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01914/0.01917, allocations: 9.242 MB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02555/0.04472, allocations: 6.036 MB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003505/0.04822, allocations: 67.44 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008202/0.05643, allocations: 5.663 MB / 390.6 MB, free: 5.926 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.05864, allocations: 1.103 MB / 391.7 MB, free: 4.816 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.06002, allocations: 0.7092 MB / 392.5 MB, free: 4.105 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003295/0.06331, allocations: 3.348 MB / 395.8 MB, free: 0.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.06449, allocations: 0.8551 MB / 396.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/0.06638, allocations: 1.555 MB / 398.2 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.06787, allocations: 1.235 MB / 399.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003194/0.06819, allocations: 136 kB / 399.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008907/0.06908, allocations: 443.3 kB / 400 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006331/0.06971, allocations: 0.9001 MB / 400.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006774/0.07039, allocations: 0.6313 MB / 401.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.07215, allocations: 1.655 MB / 403.2 MB, free: 9.312 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.07215, allocations: 4 kB / 403.2 MB, free: 9.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.07216, allocations: 3.938 kB / 403.2 MB, free: 9.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.805e-05/0.0722, allocations: 0 / 403.2 MB, free: 9.305 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.002654/0.07486, allocations: 2.126 MB / 405.3 MB, free: 7.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.0749, allocations: 11.98 kB / 405.3 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.0761, allocations: 475.3 kB / 405.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.07751, allocations: 1.091 MB / 406.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.07757, allocations: 106.6 kB / 407 MB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/0.0779, allocations: 207.8 kB / 407.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.07964, allocations: 1.428 MB / 408.6 MB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-05/0.0797, allocations: 11.89 kB / 408.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.923e-05/0.0798, allocations: 55.98 kB / 408.7 MB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003468/0.08014, allocations: 182.6 kB / 408.9 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.08128, allocations: 0.7345 MB / 409.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006411/0.08769, allocations: 7.226 MB / 416.8 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.08875, allocations: 0.7978 MB / 417.6 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/0.08915, allocations: 305.1 kB / 417.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.387e-05/0.08921, allocations: 28.94 kB / 418 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.08924, allocations: 46.39 kB / 418 MB, free: 9.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 5.009e-06/0.08925, allocations: 3.938 kB / 418 MB, free: 9.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.004258/0.09351, allocations: 2.974 MB / 421 MB, free: 6.934 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.09355, allocations: 98.41 kB / 421.1 MB, free: 6.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/0.09421, allocations: 0.8705 MB / 422 MB, free: 5.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/0.09428, allocations: 45.7 kB / 422 MB, free: 5.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.09466, allocations: 0.8115 MB / 422.8 MB, free: 5.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.09494, allocations: 0.5308 MB / 423.3 MB, free: 4.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.09524, allocations: 317.1 kB / 423.6 MB, free: 4.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.09534, allocations: 484.7 kB / 424.1 MB, free: 3.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.09579, allocations: 295.8 kB / 424.4 MB, free: 3.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.09646, allocations: 0.9031 MB / 425.3 MB, free: 2.285 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.001872/0.09833, allocations: 1.892 MB / 427.2 MB, free: 168 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.09834, allocations: 4 kB / 427.2 MB, free: 164 kB / 394.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.00364/0.102, allocations: 2.268 MB / 429.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.102, allocations: 12.72 kB / 429.5 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.102, allocations: 12 kB / 429.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.104, allocations: 1.028 MB / 430.5 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/0.1047, allocations: 295.6 kB / 430.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009659/0.1143, allocations: 11.56 MB / 442.4 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.1151, allocations: 75.91 kB / 442.4 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.1152, allocations: 68 kB / 442.5 MB, free: 340 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.0005087/0.1157, allocations: 264.1 kB / 442.8 MB, free: 64 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1879/0.3036, allocations: 175.8 kB / 442.9 MB, free: 89.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.3054, allocations: 1.112 MB / 444.1 MB, free: 89.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3054, allocations: 15.28 kB / 444.1 MB, free: 89.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.3055, allocations: 4.156 kB / 444.1 MB, free: 89.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.3055, allocations: 15.77 kB / 444.1 MB, free: 89.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/0.3095, allocations: 2.443 MB / 446.5 MB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.3095, allocations: 6.609 kB / 446.5 MB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.3106, allocations: 322.8 kB / 446.9 MB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003887/0.311, allocations: 158.5 kB / 447 MB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.3111, allocations: 44.14 kB / 447.1 MB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003031/0.3142, allocations: 7.549 MB / 454.6 MB, free: 81.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.3142, allocations: 6.156 kB / 454.6 MB, free: 81.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.3164, allocations: 1.612 MB / 456.2 MB, free: 80.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/0.3169, allocations: 221.8 kB / 456.4 MB, free: 80.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.317, allocations: 52.48 kB / 456.5 MB, free: 80.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/0.3175, allocations: 53.5 kB / 456.5 MB, free: 80.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.3177, allocations: 106.2 kB / 456.6 MB, free: 80.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.3178, allocations: 40.67 kB / 456.7 MB, free: 80.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005173/0.3183, allocations: 0.4979 MB / 457.2 MB, free: 80.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3183, allocations: 3.812 kB / 457.2 MB, free: 80.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001624/0.3199, allocations: 478.3 kB / 457.7 MB, free: 80.82 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.0002113/0.3201, allocations: 152.2 kB / 457.8 MB, free: 80.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002975/0.3231, allocations: 2.217 MB / 460 MB, free: 79.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.3231, allocations: 9.078 kB / 460 MB, free: 79.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.3242, allocations: 1.168 MB / 461.2 MB, free: 79.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.3253, allocations: 281.1 kB / 461.5 MB, free: 79.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.3313, allocations: 3.903 MB / 465.4 MB, free: 77.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.3319, allocations: 471.1 kB / 465.8 MB, free: 77.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008659/0.3327, allocations: 326.8 kB / 466.2 MB, free: 77.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.333, allocations: 96.06 kB / 466.2 MB, free: 77.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.333, allocations: 0 / 466.2 MB, free: 77.15 MB / 410.7 MB Notification: Performance of Templates: time 0.03446/0.3675, allocations: 24.11 MB / 490.4 MB, free: 74.8 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.663867744617164]