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.0009392/0.0009392, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001451/0.001451, allocations: 161.4 kB / 24.56 MB, free: 20 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.9604/0.9604, allocations: 177.1 MB / 205 MB, free: 5.27 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.263/0.263, allocations: 29.41 MB / 290.9 MB, free: 2.426 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.094e-06/2.094e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.028e-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.009831/0.009861, allocations: 9.252 MB / 378.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009148/0.01901, allocations: 6.029 MB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.02021, allocations: 67.44 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008962/0.02917, allocations: 5.64 MB / 390.6 MB, free: 5.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.03146, allocations: 1.1 MB / 391.7 MB, free: 4.828 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.03287, allocations: 0.7092 MB / 392.4 MB, free: 4.117 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003919/0.03679, allocations: 3.344 MB / 395.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.03809, allocations: 0.8513 MB / 396.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.0401, allocations: 1.406 MB / 398 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.04185, allocations: 1.313 MB / 399.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003305/0.04218, allocations: 144 kB / 399.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.04305, allocations: 447.3 kB / 399.9 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007083/0.04376, allocations: 0.9196 MB / 400.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007712/0.04453, allocations: 0.643 MB / 401.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.04669, allocations: 1.686 MB / 403.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.0467, allocations: 0 / 403.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0467, allocations: 4 kB / 403.2 MB, free: 9.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.876e-05/0.04673, allocations: 0 / 403.2 MB, free: 9.324 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.002653/0.04938, allocations: 2.15 MB / 405.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.04943, allocations: 11.98 kB / 405.3 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.0506, allocations: 475.4 kB / 405.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.0522, allocations: 1.141 MB / 406.9 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.05226, allocations: 98.62 kB / 407 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/0.0526, allocations: 215.8 kB / 407.2 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.05437, allocations: 1.428 MB / 408.7 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.0544, allocations: 15.88 kB / 408.7 MB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.576e-05/0.0545, allocations: 51.98 kB / 408.7 MB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003615/0.05486, allocations: 186.7 kB / 408.9 MB, free: 3.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.05638, allocations: 0.7307 MB / 409.7 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006726/0.06311, allocations: 7.222 MB / 416.9 MB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.06425, allocations: 0.7977 MB / 417.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.06467, allocations: 308.5 kB / 418 MB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.933e-05/0.06475, allocations: 21 kB / 418 MB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.06479, allocations: 50.39 kB / 418 MB, free: 9.906 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.767e-06/0.06479, allocations: 4 kB / 418 MB, free: 9.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.00481/0.0696, allocations: 2.997 MB / 421 MB, free: 6.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.06966, allocations: 94.42 kB / 421.1 MB, free: 6.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000805/0.07046, allocations: 0.8747 MB / 422 MB, free: 5.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.07053, allocations: 53.7 kB / 422.1 MB, free: 5.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.07095, allocations: 0.7999 MB / 422.9 MB, free: 4.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.07127, allocations: 0.5346 MB / 423.4 MB, free: 4.441 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006482/0.07192, allocations: 317.1 kB / 423.7 MB, free: 4.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.07203, allocations: 484.7 kB / 424.2 MB, free: 3.648 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.07248, allocations: 291.8 kB / 424.5 MB, free: 3.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/0.0732, allocations: 0.9143 MB / 425.4 MB, free: 2.199 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.001864/0.07506, allocations: 1.922 MB / 427.3 MB, free: 40 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.07507, allocations: 4 kB / 427.3 MB, free: 36 kB / 394.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003335/0.0784, allocations: 2.283 MB / 429.6 MB, free: 13.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.07843, allocations: 15.98 kB / 429.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.07845, allocations: 12.72 kB / 429.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002327/0.08078, allocations: 1.02 MB / 430.6 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.08141, allocations: 295.6 kB / 430.9 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009837/0.09124, allocations: 11.56 MB / 442.5 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007595/0.092, allocations: 75.94 kB / 442.6 MB, free: 260 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.09212, allocations: 79.92 kB / 442.6 MB, free: 180 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: 60 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 142 * 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.1644/0.2565, allocations: 263.5 kB / 442.9 MB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.2568, allocations: 178.5 kB / 443.1 MB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.2586, allocations: 1.113 MB / 444.2 MB, free: 88.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.2586, allocations: 12.75 kB / 444.2 MB, free: 88.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.2586, allocations: 7.125 kB / 444.2 MB, free: 88.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.2586, allocations: 9.938 kB / 444.2 MB, free: 88.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/0.2625, allocations: 2.44 MB / 446.7 MB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.2625, allocations: 6.781 kB / 446.7 MB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008806/0.2634, allocations: 324.3 kB / 447 MB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003526/0.2638, allocations: 154.4 kB / 447.1 MB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.2639, allocations: 41 kB / 447.2 MB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.2666, allocations: 7.549 MB / 454.7 MB, free: 80.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.2666, allocations: 9.781 kB / 454.7 MB, free: 80.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.2684, allocations: 1.617 MB / 456.3 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.2688, allocations: 224.2 kB / 456.6 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2689, allocations: 42.5 kB / 456.6 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.2692, allocations: 54.92 kB / 456.7 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.2694, allocations: 108.5 kB / 456.8 MB, free: 80.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.2694, allocations: 37.62 kB / 456.8 MB, free: 80.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004066/0.2698, allocations: 0.5008 MB / 457.3 MB, free: 80.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2698, allocations: 0 / 457.3 MB, free: 80.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001262/0.2711, allocations: 483.6 kB / 457.8 MB, free: 80.03 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.000172/0.2713, allocations: 154.6 kB / 457.9 MB, free: 79.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002314/0.2736, allocations: 2.223 MB / 460.1 MB, free: 79.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2736, allocations: 3.25 kB / 460.2 MB, free: 79.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.2744, allocations: 1.176 MB / 461.3 MB, free: 78.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.2752, allocations: 287.8 kB / 461.6 MB, free: 78.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/0.2803, allocations: 3.939 MB / 465.5 MB, free: 76.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.2808, allocations: 476.2 kB / 466 MB, free: 76.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006555/0.2815, allocations: 328.7 kB / 466.3 MB, free: 76.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.2817, allocations: 97.8 kB / 466.4 MB, free: 76.35 MB / 410.7 MB Notification: Performance of SimCode: time 2.124e-06/0.2817, allocations: 4 kB / 466.4 MB, free: 76.34 MB / 410.7 MB Notification: Performance of Templates: time 0.03097/0.3127, allocations: 23.4 MB / 489.8 MB, free: 74.19 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.7576051047071815]