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.001004/0.001004, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001/0.001, allocations: 169.9 kB / 24.91 MB, free: 9.199 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 1.076/1.076, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.3041/0.3041, allocations: 29.43 MB / 291.2 MB, free: 2.477 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.643e-06/1.643e-06, allocations: 0 / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.423e-05, allocations: 3.016 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.008523/0.008547, allocations: 9.238 MB / 326.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008892/0.01744, allocations: 6.087 MB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.01867, allocations: 67.44 kB / 332.3 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009079/0.02775, allocations: 5.713 MB / 338 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.03017, allocations: 1.099 MB / 339.1 MB, free: 9.688 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.03162, allocations: 0.7052 MB / 339.8 MB, free: 8.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004058/0.03568, allocations: 3.313 MB / 343.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.03778, allocations: 0.902 MB / 344 MB, free: 4.723 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.04079, allocations: 1.539 MB / 345.5 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.04249, allocations: 1.169 MB / 346.7 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003116/0.0428, allocations: 140 kB / 346.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008718/0.04367, allocations: 451.3 kB / 347.3 MB, free: 1.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006561/0.04432, allocations: 0.9001 MB / 348.2 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007673/0.04509, allocations: 0.6314 MB / 348.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.04698, allocations: 1.662 MB / 350.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.04698, allocations: 0 / 350.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.04699, allocations: 0 / 350.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.368e-05/0.04705, allocations: 0 / 350.5 MB, free: 14.23 MB / 330.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.002525/0.04957, allocations: 1.875 MB / 352.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.04961, allocations: 19.92 kB / 352.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.05087, allocations: 384.4 kB / 352.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.05243, allocations: 0.9398 MB / 353.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/0.0525, allocations: 98.62 kB / 353.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004031/0.0529, allocations: 219.7 kB / 354 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.05459, allocations: 1.253 MB / 355.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.368e-05/0.05464, allocations: 11.92 kB / 355.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.05475, allocations: 55.97 kB / 355.3 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004335/0.05519, allocations: 182.7 kB / 355.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.05624, allocations: 0.5455 MB / 356 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006823/0.06307, allocations: 5.589 MB / 361.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.06415, allocations: 0.6941 MB / 362.3 MB, free: 1.914 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.0645, allocations: 227.5 kB / 362.6 MB, free: 1.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.805e-05/0.06457, allocations: 29 kB / 362.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.06461, allocations: 43.56 kB / 362.6 MB, free: 1.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 4.479e-06/0.06461, allocations: 0 / 362.6 MB, free: 1.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=138): time 0.01116/0.07577, allocations: 2.216 MB / 364.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.07583, allocations: 90.42 kB / 364.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.0765, allocations: 0.7371 MB / 365.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/0.07658, allocations: 49.7 kB / 365.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.07693, allocations: 0.6193 MB / 366.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003407/0.08034, allocations: 0.5228 MB / 366.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000377/0.08072, allocations: 291.3 kB / 367.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.0808, allocations: 309.1 kB / 367.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.08115, allocations: 175.9 kB / 367.6 MB, free: 12.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.08174, allocations: 0.6101 MB / 368.2 MB, free: 11.72 MB / 346.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.004909/0.08665, allocations: 1.464 MB / 369.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.08666, allocations: 4 kB / 369.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.006816/0.09348, allocations: 1.785 MB / 371.5 MB, free: 8.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.09351, allocations: 8.719 kB / 371.5 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.09353, allocations: 12 kB / 371.5 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005658/0.09919, allocations: 0.9531 MB / 372.5 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.1004, allocations: 327.4 kB / 372.8 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01852/0.119, allocations: 8.759 MB / 381.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.1202, allocations: 51.98 kB / 381.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/0.1204, allocations: 56 kB / 381.6 MB, free: 13.73 MB / 362.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.0008601/0.1213, allocations: 220.1 kB / 381.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.1217, allocations: 123.9 kB / 382 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.1235, allocations: 0.8502 MB / 382.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.1235, allocations: 12 kB / 382.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1235, allocations: 8 kB / 382.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.1235, allocations: 7.969 kB / 382.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004056/0.1276, allocations: 1.798 MB / 384.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.1276, allocations: 8 kB / 384.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.1293, allocations: 400.1 kB / 385 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/0.1298, allocations: 173.7 kB / 385.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.1299, allocations: 47.92 kB / 385.3 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.134, allocations: 5.307 MB / 390.6 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.134, allocations: 4 kB / 390.6 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.1364, allocations: 1.256 MB / 391.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006016/0.137, allocations: 183 kB / 392 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.1372, allocations: 43.92 kB / 392.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005622/0.1378, allocations: 32 kB / 392.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.138, allocations: 105 kB / 392.2 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/0.1381, allocations: 31.98 kB / 392.2 MB, free: 2.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005128/0.1386, allocations: 347.3 kB / 392.6 MB, free: 2.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1386, allocations: 0 / 392.6 MB, free: 2.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002169/0.1408, allocations: 480 kB / 393 MB, free: 1.715 MB / 362.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.0002805/0.1411, allocations: 136.2 kB / 393.2 MB, free: 1.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003692/0.1448, allocations: 1.799 MB / 395 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.265e-05/0.1448, allocations: 12.61 kB / 395 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.146, allocations: 0.8809 MB / 395.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.1475, allocations: 300.8 kB / 396.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/0.1549, allocations: 3.337 MB / 399.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.1556, allocations: 472.2 kB / 399.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008958/0.1565, allocations: 175.3 kB / 400.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007685/0.1573, allocations: 309.2 kB / 400.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.876e-06/0.1573, allocations: 0 / 400.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of Templates: time 0.04764/0.2049, allocations: 24.69 MB / 425.1 MB, free: 1.785 MB / 394.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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.7304864269681275]