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.001029/0.001029, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001111/0.001111, allocations: 166.7 kB / 24.82 MB, free: 9.266 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.9959/0.9959, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2561/0.2561, allocations: 29.42 MB / 291.2 MB, free: 2.473 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 8.72e-07/8.72e-07, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.708e-06/1.058e-05, allocations: 5.406 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.007158/0.007168, allocations: 9.139 MB / 379.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006757/0.01393, allocations: 5.958 MB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006722/0.0146, allocations: 67.44 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007167/0.02176, allocations: 5.678 MB / 390.9 MB, free: 5.832 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.0238, allocations: 1.107 MB / 392 MB, free: 4.719 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.02506, allocations: 0.7052 MB / 392.7 MB, free: 4.012 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002973/0.02803, allocations: 3.356 MB / 396.1 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.02906, allocations: 0.8474 MB / 396.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.03099, allocations: 1.562 MB / 398.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.03227, allocations: 1.231 MB / 399.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.03246, allocations: 136 kB / 399.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006609/0.03312, allocations: 443.3 kB / 400.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006065/0.03372, allocations: 0.904 MB / 401.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.03424, allocations: 0.6313 MB / 401.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.03569, allocations: 1.658 MB / 403.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.0357, allocations: 0 / 403.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0357, allocations: 0 / 403.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.077e-05/0.03573, allocations: 0 / 403.5 MB, free: 9.207 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.002287/0.03802, allocations: 2.067 MB / 405.6 MB, free: 7.086 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.03805, allocations: 11.98 kB / 405.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009865/0.03904, allocations: 447.4 kB / 406 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.04015, allocations: 1.028 MB / 407 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/0.04021, allocations: 102.6 kB / 407.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.0405, allocations: 215.8 kB / 407.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.04183, allocations: 1.307 MB / 408.7 MB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.04187, allocations: 19.91 kB / 408.7 MB, free: 3.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.492e-05/0.04196, allocations: 55.98 kB / 408.7 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003418/0.04231, allocations: 174.7 kB / 408.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/0.04315, allocations: 0.5882 MB / 409.5 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005879/0.04903, allocations: 7.085 MB / 416.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009073/0.04994, allocations: 0.7183 MB / 417.3 MB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.05023, allocations: 254.3 kB / 417.5 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.912e-05/0.05029, allocations: 29 kB / 417.6 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.05034, allocations: 50.39 kB / 417.6 MB, free: 10.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 2.816e-06/0.05034, allocations: 0 / 417.6 MB, free: 10.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.003426/0.05376, allocations: 2.349 MB / 420 MB, free: 8.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.05381, allocations: 98.36 kB / 420.1 MB, free: 8.023 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/0.05441, allocations: 0.866 MB / 420.9 MB, free: 7.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/0.05447, allocations: 49.7 kB / 421 MB, free: 7.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.05489, allocations: 0.8076 MB / 421.8 MB, free: 6.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000302/0.05519, allocations: 0.5346 MB / 422.3 MB, free: 5.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.05551, allocations: 321 kB / 422.6 MB, free: 5.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.05562, allocations: 488.7 kB / 423.1 MB, free: 4.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.0559, allocations: 215.9 kB / 423.3 MB, free: 4.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/0.05648, allocations: 0.8171 MB / 424.1 MB, free: 3.648 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.001459/0.05794, allocations: 1.688 MB / 425.8 MB, free: 1.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.05795, allocations: 4 kB / 425.8 MB, free: 1.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.002762/0.06071, allocations: 2.057 MB / 427.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.06073, allocations: 12 kB / 427.9 MB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.06075, allocations: 12 kB / 427.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.06242, allocations: 0.9778 MB / 428.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.06297, allocations: 283.5 kB / 429.2 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007972/0.07094, allocations: 11.18 MB / 440.4 MB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.07141, allocations: 55.94 kB / 440.4 MB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/0.0715, allocations: 59.98 kB / 440.5 MB, free: 2.609 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: 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.0003646/0.07186, allocations: 263.5 kB / 440.7 MB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.07203, allocations: 179.1 kB / 440.9 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.07318, allocations: 1.017 MB / 441.9 MB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.07319, allocations: 12 kB / 441.9 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.0732, allocations: 4 kB / 441.9 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.07321, allocations: 7.969 kB / 441.9 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1476/0.2208, allocations: 2.08 MB / 444 MB, free: 88.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.2208, allocations: 3.938 kB / 444 MB, free: 88.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.2218, allocations: 301.8 kB / 444.3 MB, free: 88.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.2221, allocations: 142.6 kB / 444.5 MB, free: 88.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.027e-05/0.2222, allocations: 50.03 kB / 444.5 MB, free: 88.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.2247, allocations: 7.423 MB / 451.9 MB, free: 81.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2247, allocations: 6.719 kB / 451.9 MB, free: 81.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.2264, allocations: 1.476 MB / 453.4 MB, free: 80.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.2268, allocations: 207.3 kB / 453.6 MB, free: 80.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.2269, allocations: 46.95 kB / 453.7 MB, free: 80.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.2273, allocations: 26.56 kB / 453.7 MB, free: 80.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.2275, allocations: 108.1 kB / 453.8 MB, free: 80.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.2275, allocations: 32.66 kB / 453.8 MB, free: 80.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003222/0.2278, allocations: 472.8 kB / 454.3 MB, free: 80.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2278, allocations: 0 / 454.3 MB, free: 80.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001428/0.2293, allocations: 488.3 kB / 454.8 MB, free: 80.79 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.0001749/0.2295, allocations: 156.4 kB / 454.9 MB, free: 80.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.2315, allocations: 2.086 MB / 457 MB, free: 79.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2315, allocations: 0 / 457 MB, free: 79.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007711/0.2323, allocations: 1.123 MB / 458.1 MB, free: 79.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/0.2332, allocations: 280.1 kB / 458.4 MB, free: 79.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004888/0.2381, allocations: 3.879 MB / 462.3 MB, free: 77.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.2385, allocations: 475.5 kB / 462.7 MB, free: 77.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005082/0.239, allocations: 178 kB / 462.9 MB, free: 77.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005635/0.2396, allocations: 345.9 kB / 463.2 MB, free: 77.08 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2396, allocations: 4 kB / 463.3 MB, free: 77.08 MB / 410.7 MB Notification: Performance of Templates: time 0.03269/0.2723, allocations: 24.49 MB / 487.7 MB, free: 74.97 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.731193262152374]