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.001906/0.001906, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002046/0.002046, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.55/1.55, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3091/0.3091, allocations: 29.41 MB / 290.5 MB, free: 2.414 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/2.979e-05, allocations: 5.688 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01493/0.01496, allocations: 10.51 MB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.02721, allocations: 6.013 MB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.02847, allocations: 67.5 kB / 385.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01498/0.04345, allocations: 6.153 MB / 391.6 MB, free: 4.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.04647, allocations: 1.107 MB / 392.7 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.04864, allocations: 0.7169 MB / 393.4 MB, free: 2.648 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005322/0.05396, allocations: 3.332 MB / 396.8 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.05537, allocations: 0.8552 MB / 397.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.05761, allocations: 1.422 MB / 399 MB, free: 13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.05984, allocations: 1.321 MB / 400.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002944/0.06013, allocations: 144 kB / 400.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.0613, allocations: 451.3 kB / 401 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.06238, allocations: 0.9196 MB / 401.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009727/0.06335, allocations: 0.643 MB / 402.5 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.06662, allocations: 2.337 MB / 404.8 MB, free: 7.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.06662, allocations: 0 / 404.8 MB, free: 7.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.06663, allocations: 0 / 404.8 MB, free: 7.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.535e-05/0.06666, allocations: 0 / 404.8 MB, free: 7.188 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.004804/0.07147, allocations: 2.243 MB / 407.1 MB, free: 4.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.07151, allocations: 11.98 kB / 407.1 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.07363, allocations: 483.4 kB / 407.6 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.07678, allocations: 1.145 MB / 408.7 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.07689, allocations: 98.62 kB / 408.8 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005621/0.07745, allocations: 207.8 kB / 409 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.08059, allocations: 1.58 MB / 410.6 MB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.997e-05/0.08064, allocations: 11.89 kB / 410.6 MB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.08079, allocations: 55.98 kB / 410.7 MB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007406/0.08153, allocations: 182.7 kB / 410.8 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.08378, allocations: 0.9126 MB / 411.8 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/0.09771, allocations: 7.74 MB / 419.5 MB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.09971, allocations: 0.8676 MB / 420.4 MB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007897/0.1005, allocations: 358.3 kB / 420.7 MB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.1006, allocations: 28.98 kB / 420.7 MB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.1007, allocations: 58.33 kB / 420.8 MB, free: 6.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.356e-06/0.1007, allocations: 0 / 420.8 MB, free: 6.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.008577/0.1092, allocations: 3.268 MB / 424.1 MB, free: 3.375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.1093, allocations: 94.36 kB / 424.2 MB, free: 3.266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.1108, allocations: 1.054 MB / 425.2 MB, free: 2.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.1109, allocations: 49.7 kB / 425.3 MB, free: 2.133 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007883/0.1117, allocations: 0.8429 MB / 426.1 MB, free: 1.277 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006214/0.1123, allocations: 0.562 MB / 426.7 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006015/0.1129, allocations: 365.1 kB / 427 MB, free: 356 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002958/0.1132, allocations: 480.7 kB / 427.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008941/0.1141, allocations: 363.8 kB / 427.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.1157, allocations: 1.016 MB / 428.9 MB, free: 14.25 MB / 410.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.01002/0.1257, allocations: 3.198 MB / 432.1 MB, free: 10.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/0.1257, allocations: 4 kB / 432.1 MB, free: 10.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006574/0.1323, allocations: 2.436 MB / 434.5 MB, free: 8.344 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.1323, allocations: 8.719 kB / 434.5 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.1323, allocations: 20 kB / 434.5 MB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003685/0.136, allocations: 1.053 MB / 435.6 MB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.1373, allocations: 299.5 kB / 435.9 MB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1566/0.2939, allocations: 12.04 MB / 447.9 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.295, allocations: 74.2 kB / 448 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/0.2953, allocations: 68.81 kB / 448.1 MB, free: 101.1 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: 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.0006797/0.296, allocations: 319.5 kB / 448.4 MB, free: 101 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/0.2963, allocations: 176.9 kB / 448.5 MB, free: 101 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.2987, allocations: 1.229 MB / 449.8 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.2987, allocations: 15.66 kB / 449.8 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.2987, allocations: 3.094 kB / 449.8 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.2987, allocations: 7.078 kB / 449.8 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00516/0.3039, allocations: 2.806 MB / 452.6 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.3039, allocations: 11.22 kB / 452.6 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.3054, allocations: 320.4 kB / 452.9 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004667/0.3059, allocations: 160.3 kB / 453.1 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.306, allocations: 45.48 kB / 453.1 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/0.3094, allocations: 7.639 MB / 460.8 MB, free: 92.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3094, allocations: 3.156 kB / 460.8 MB, free: 92.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.3121, allocations: 1.848 MB / 462.6 MB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006635/0.3128, allocations: 224.2 kB / 462.8 MB, free: 92.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.313, allocations: 47.08 kB / 462.9 MB, free: 92.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.3136, allocations: 51.92 kB / 462.9 MB, free: 92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.3138, allocations: 107.9 kB / 463 MB, free: 91.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.478e-05/0.3139, allocations: 37.34 kB / 463.1 MB, free: 91.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005815/0.3145, allocations: 0.585 MB / 463.7 MB, free: 91.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3145, allocations: 3.312 kB / 463.7 MB, free: 91.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001491/0.316, allocations: 478.6 kB / 464.1 MB, free: 91.63 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.0001776/0.3162, allocations: 161 kB / 464.3 MB, free: 91.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003387/0.3196, allocations: 2.415 MB / 466.7 MB, free: 90.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3196, allocations: 3.312 kB / 466.7 MB, free: 90.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.3209, allocations: 1.249 MB / 468 MB, free: 89.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.3221, allocations: 282.2 kB / 468.2 MB, free: 89.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/0.3274, allocations: 3.967 MB / 472.2 MB, free: 87.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/0.3282, allocations: 0.8745 MB / 473.1 MB, free: 86.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008781/0.3291, allocations: 338.6 kB / 473.4 MB, free: 86.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.3294, allocations: 95.86 kB / 473.5 MB, free: 86.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.3294, allocations: 0 / 473.5 MB, free: 86.84 MB / 410.7 MB Notification: Performance of Templates: time 0.03479/0.3642, allocations: 23.37 MB / 496.9 MB, free: 82.61 MB / 410.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 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.787577415001579]