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.001951/0.001951, 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.003229/0.003229, 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.647/1.647, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.2937/0.2937, allocations: 29.41 MB / 290.5 MB, free: 2.422 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 1.754e-06/1.754e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.335e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01719/0.01722, allocations: 10.51 MB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.02883, allocations: 6.017 MB / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008901/0.02972, allocations: 67.44 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0145/0.04422, allocations: 6.145 MB / 391.6 MB, free: 4.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003418/0.04764, allocations: 1.107 MB / 392.7 MB, free: 3.387 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.04974, allocations: 0.713 MB / 393.4 MB, free: 2.672 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00578/0.05552, allocations: 3.336 MB / 396.8 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.05729, allocations: 0.8591 MB / 397.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.05977, allocations: 1.422 MB / 399.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.0621, allocations: 1.325 MB / 400.4 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.0624, allocations: 144 kB / 400.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.06349, allocations: 447.3 kB / 401 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.06454, allocations: 0.9157 MB / 401.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009416/0.06548, allocations: 0.643 MB / 402.5 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003538/0.06902, allocations: 2.341 MB / 404.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.06902, allocations: 0 / 404.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.06903, allocations: 0 / 404.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.74e-05/0.06907, allocations: 3.938 kB / 404.9 MB, free: 7.199 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.005037/0.07411, allocations: 2.247 MB / 407.1 MB, free: 4.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.07416, allocations: 11.98 kB / 407.1 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.07626, allocations: 479.4 kB / 407.6 MB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.0793, allocations: 1.145 MB / 408.7 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.0794, allocations: 98.62 kB / 408.8 MB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005638/0.07997, allocations: 207.8 kB / 409 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.08304, allocations: 1.576 MB / 410.6 MB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/0.08309, allocations: 11.89 kB / 410.6 MB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.08325, allocations: 55.98 kB / 410.7 MB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007363/0.08398, allocations: 182.7 kB / 410.9 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.0865, allocations: 0.9165 MB / 411.8 MB, free: 68 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.1005, allocations: 7.737 MB / 419.5 MB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.1027, allocations: 0.8677 MB / 420.4 MB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008091/0.1035, allocations: 362.1 kB / 420.7 MB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.1036, allocations: 28.94 kB / 420.8 MB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.1037, allocations: 50.39 kB / 420.8 MB, free: 6.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.567e-06/0.1037, allocations: 0 / 420.8 MB, free: 6.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.0086/0.1123, allocations: 3.268 MB / 424.1 MB, free: 3.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/0.1124, allocations: 94.42 kB / 424.2 MB, free: 3.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.1139, allocations: 1.058 MB / 425.2 MB, free: 2.203 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.114, allocations: 45.7 kB / 425.3 MB, free: 2.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.1152, allocations: 0.8429 MB / 426.1 MB, free: 1.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000641/0.1158, allocations: 0.5658 MB / 426.7 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006652/0.1165, allocations: 361.1 kB / 427 MB, free: 376 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003129/0.1168, allocations: 484.7 kB / 427.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009237/0.1177, allocations: 359.8 kB / 427.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.1193, allocations: 1.02 MB / 428.9 MB, free: 14.27 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.01001/0.1293, allocations: 3.194 MB / 432.1 MB, free: 10.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/0.1293, allocations: 4 kB / 432.1 MB, free: 10.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006884/0.1362, allocations: 2.444 MB / 434.5 MB, free: 8.355 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.1362, allocations: 12 kB / 434.5 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.1363, allocations: 16.06 kB / 434.5 MB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003698/0.14, allocations: 1.06 MB / 435.6 MB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.1412, allocations: 295.5 kB / 435.9 MB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1597/0.301, allocations: 12.03 MB / 447.9 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.3021, allocations: 76.48 kB / 448 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.3022, allocations: 69.09 kB / 448.1 MB, free: 100.8 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.0005676/0.3028, allocations: 321.6 kB / 448.4 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.303, allocations: 177.7 kB / 448.5 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.3054, allocations: 1.23 MB / 449.8 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3054, allocations: 12.69 kB / 449.8 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3054, allocations: 3.125 kB / 449.8 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.3054, allocations: 7.078 kB / 449.8 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/0.3106, allocations: 2.808 MB / 452.6 MB, free: 99.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.3106, allocations: 6.844 kB / 452.6 MB, free: 99.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.3121, allocations: 318.8 kB / 452.9 MB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000485/0.3126, allocations: 157.3 kB / 453.1 MB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.3127, allocations: 61.14 kB / 453.1 MB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/0.3162, allocations: 7.634 MB / 460.8 MB, free: 92.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3162, allocations: 6.219 kB / 460.8 MB, free: 92.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.3191, allocations: 1.843 MB / 462.6 MB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006409/0.3197, allocations: 226.9 kB / 462.8 MB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.3199, allocations: 39.98 kB / 462.9 MB, free: 91.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.3206, allocations: 56.59 kB / 462.9 MB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.3208, allocations: 104 kB / 463 MB, free: 91.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.3208, allocations: 37.62 kB / 463.1 MB, free: 91.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006392/0.3215, allocations: 0.5875 MB / 463.7 MB, free: 91.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3215, allocations: 3.656 kB / 463.7 MB, free: 91.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001659/0.3231, allocations: 486.1 kB / 464.1 MB, free: 91.33 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.0002008/0.3233, allocations: 149.2 kB / 464.3 MB, free: 91.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003472/0.3268, allocations: 2.418 MB / 466.7 MB, free: 89.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3268, allocations: 0 / 466.7 MB, free: 89.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.3282, allocations: 1.253 MB / 468 MB, free: 89.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.3294, allocations: 286.5 kB / 468.2 MB, free: 89.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005045/0.3345, allocations: 3.966 MB / 472.2 MB, free: 86.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007621/0.3352, allocations: 0.8685 MB / 473.1 MB, free: 86.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008314/0.3361, allocations: 331.6 kB / 473.4 MB, free: 86.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.3364, allocations: 100.4 kB / 473.5 MB, free: 86.54 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3364, allocations: 0 / 473.5 MB, free: 86.54 MB / 410.7 MB Notification: Performance of Templates: time 0.03347/0.3699, allocations: 23.37 MB / 496.9 MB, free: 82.28 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: 5.964902002946474]