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.0006673/0.0006673, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009116/0.001579, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.0006841/0.0006841, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008676/0.001552, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.9452/0.9452, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07793/1.023, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1524/0.1524, allocations: 29.43 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1152/0.2676, allocations: 9.527 MB / 283.1 MB, free: 12.81 MB / 282.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.332e-06/1.332e-06, allocations: 0 / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.884e-05, allocations: 3.406 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01842/0.01844, allocations: 9.307 MB / 293.7 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.03646, allocations: 6.148 MB / 299.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009869/0.03745, allocations: 63.5 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01406/0.05151, allocations: 5.215 MB / 305.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.05343, allocations: 1.142 MB / 306.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.05469, allocations: 0.6936 MB / 307 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002682/0.05737, allocations: 3.314 MB / 310.3 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007988/0.05817, allocations: 0.8048 MB / 311.1 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.05967, allocations: 1.647 MB / 312.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.06076, allocations: 1.2 MB / 314 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.06092, allocations: 136 kB / 314.1 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000654/0.06157, allocations: 447.3 kB / 314.5 MB, free: 468 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005643/0.06214, allocations: 0.8145 MB / 315.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.06261, allocations: 0.5146 MB / 315.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.06394, allocations: 1.538 MB / 317.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.06395, allocations: 0 / 317.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.06395, allocations: 0 / 317.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.305e-05/0.06398, allocations: 0 / 317.4 MB, free: 13.58 MB / 314.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.002171/0.06615, allocations: 2.254 MB / 319.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.06618, allocations: 12.03 kB / 319.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.06725, allocations: 461.5 kB / 320.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.06839, allocations: 0.9398 MB / 321 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.06844, allocations: 106.6 kB / 321.1 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/0.06874, allocations: 207.8 kB / 321.4 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.06994, allocations: 1.268 MB / 322.6 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.06997, allocations: 7.891 kB / 322.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-05/0.07006, allocations: 55.98 kB / 322.7 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003357/0.07039, allocations: 190.7 kB / 322.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007126/0.07111, allocations: 0.5494 MB / 323.4 MB, free: 7.332 MB / 314.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(line.v[3,4]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005408/0.07652, allocations: 5.671 MB / 329.1 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.07732, allocations: 0.6996 MB / 329.8 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.07757, allocations: 223.5 kB / 330 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.91e-05/0.07763, allocations: 25 kB / 330 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.07767, allocations: 47.55 kB / 330.1 MB, free: 400 kB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 4.348e-06/0.07767, allocations: 0 / 330.1 MB, free: 400 kB / 314.7 MB Notification: Performance of matching and sorting (n=138): time 0.003579/0.08125, allocations: 2.266 MB / 332.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.08129, allocations: 94.36 kB / 332.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.08174, allocations: 0.741 MB / 333.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.08181, allocations: 49.7 kB / 333.2 MB, free: 13.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.08207, allocations: 0.6195 MB / 333.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.08233, allocations: 0.5228 MB / 334.4 MB, free: 12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.08261, allocations: 295.4 kB / 334.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.08268, allocations: 309.1 kB / 335 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.08292, allocations: 175.9 kB / 335.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.08334, allocations: 0.6023 MB / 335.7 MB, free: 10.45 MB / 330.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.001275/0.08461, allocations: 1.444 MB / 337.2 MB, free: 8.836 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.08462, allocations: 4 kB / 337.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.001742/0.08636, allocations: 1.358 MB / 338.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.08638, allocations: 11.94 kB / 338.5 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.08639, allocations: 12 kB / 338.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.08784, allocations: 0.7134 MB / 339.3 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/0.08858, allocations: 362 kB / 339.6 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/0.09513, allocations: 8.805 MB / 348.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.09572, allocations: 59.94 kB / 348.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/0.09579, allocations: 48 kB / 348.5 MB, free: 12.96 MB / 346.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 0.0 $DER.line.v[2,4] = line.v[1,4] * line.omega[1] $DER.line.v[1,4] = (-line.v[2,4]) * line.omega[1]. 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 (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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,1,100.0%), (1,18,100.0%), (3,17,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0003981/0.09619, allocations: 232.2 kB / 348.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.09633, allocations: 123.9 kB / 348.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.09738, allocations: 0.8504 MB / 349.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.09738, allocations: 12 kB / 349.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.09739, allocations: 11.94 kB / 349.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.0974, allocations: 7.969 kB / 349.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.09963, allocations: 1.802 MB / 351.6 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.09964, allocations: 4 kB / 351.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.1007, allocations: 424.6 kB / 352 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.1009, allocations: 179.1 kB / 352.2 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/0.1012, allocations: 159.4 kB / 352.3 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.1012, allocations: 47.92 kB / 352.4 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002589/0.1038, allocations: 5.315 MB / 357.7 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1038, allocations: 7.938 kB / 357.7 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.1051, allocations: 1.26 MB / 358.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.1052, allocations: 39.98 kB / 359 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.1055, allocations: 31.94 kB / 359 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.1056, allocations: 105.1 kB / 359.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.1056, allocations: 31.98 kB / 359.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002355/0.1059, allocations: 343.3 kB / 359.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1059, allocations: 7.938 kB / 359.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001015/0.1069, allocations: 492 kB / 360 MB, free: 0.9062 MB / 346.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.0001658/0.1071, allocations: 145.6 kB / 360.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.1089, allocations: 1.697 MB / 361.8 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-05/0.1089, allocations: 20.5 kB / 361.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000889/0.1098, allocations: 1.068 MB / 362.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.1114, allocations: 2.477 MB / 365.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/0.1308, allocations: 3.179 MB / 368.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.1313, allocations: 464.1 kB / 369 MB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005992/0.1319, allocations: 183.6 kB / 369.2 MB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.1324, allocations: 313.1 kB / 369.5 MB, free: 6.645 MB / 362.7 MB Notification: Performance of SimCode: time 1.683e-06/0.1324, allocations: 4 kB / 369.5 MB, free: 6.641 MB / 362.7 MB Notification: Performance of Templates: time 0.02951/0.1619, allocations: 23.27 MB / 392.8 MB, free: 15.73 MB / 394.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.0691682351753116]