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.001767/0.001767, allocations: 84.23 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002111/0.002111, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.462/1.462, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 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.1746/0.1746, allocations: 29.44 MB / 290.1 MB, free: 3.273 MB / 270.1 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.733e-06/1.733e-06, allocations: 0 / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.406e-05, allocations: 5.656 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01224/0.01226, allocations: 9.846 MB / 440.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.02256, allocations: 5.759 MB / 446.3 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009437/0.0235, allocations: 67.44 kB / 446.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2348/0.2583, allocations: 6.046 MB / 452.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003017/0.2614, allocations: 1.119 MB / 453.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.2633, allocations: 0.7037 MB / 454.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005559/0.2688, allocations: 3.325 MB / 457.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.2703, allocations: 0.8414 MB / 458.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.2727, allocations: 1.422 MB / 459.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.2748, allocations: 1.315 MB / 461.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003124/0.2752, allocations: 144.4 kB / 461.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.2762, allocations: 451.1 kB / 461.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008339/0.277, allocations: 0.9108 MB / 462.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008739/0.2779, allocations: 0.6381 MB / 463.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.2805, allocations: 2.327 MB / 465.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2805, allocations: 0 / 465.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2805, allocations: 0 / 465.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.2805, allocations: 4 kB / 465.6 MB, free: 13.59 MB / 366.1 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.003776/0.2843, allocations: 2.022 MB / 467.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2843, allocations: 18.98 kB / 467.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.2862, allocations: 341.2 kB / 468 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.2886, allocations: 1.118 MB / 469.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.074e-05/0.2887, allocations: 102.6 kB / 469.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005687/0.2892, allocations: 231.2 kB / 469.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.2922, allocations: 2.107 MB / 471.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-05/0.2922, allocations: 15.27 kB / 471.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.2924, allocations: 52.61 kB / 471.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006443/0.293, allocations: 181 kB / 471.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.2955, allocations: 1.701 MB / 473.5 MB, free: 9.254 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009/0.3045, allocations: 6.929 MB / 480.4 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.3064, allocations: 1.252 MB / 481.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008069/0.3072, allocations: 0.6145 MB / 482.3 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/0.3073, allocations: 20.94 kB / 482.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3073, allocations: 46.38 kB / 482.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=127): time 3.015e-06/0.3073, allocations: 4 kB / 482.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.008343/0.3156, allocations: 4.512 MB / 486.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.3157, allocations: 94.42 kB / 486.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.3168, allocations: 0.8744 MB / 487.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.3169, allocations: 53.7 kB / 487.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005775/0.3174, allocations: 0.7363 MB / 488.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/0.3179, allocations: 0.5167 MB / 489.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/0.3184, allocations: 309 kB / 489.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3185, allocations: 301.1 kB / 489.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.3198, allocations: 0.7066 MB / 490.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.3214, allocations: 1.153 MB / 491.6 MB, free: 9.281 MB / 382.1 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.01089/0.3323, allocations: 4.078 MB / 495.7 MB, free: 5.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.3323, allocations: 7.938 kB / 495.7 MB, free: 5.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00729/0.3396, allocations: 3.237 MB / 498.9 MB, free: 2.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3396, allocations: 8 kB / 498.9 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/0.3396, allocations: 16 kB / 498.9 MB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003263/0.3429, allocations: 1.166 MB / 0.4884 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.3441, allocations: 304.8 kB / 0.4887 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/0.3654, allocations: 14.43 MB / 0.5028 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.3669, allocations: 75.95 kB / 0.5028 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.3671, allocations: 74.02 kB / 0.5029 GB, free: 1.621 MB / 398.1 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.00108/0.3682, allocations: 0.4925 MB / 0.5034 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.3684, allocations: 135.1 kB / 0.5035 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/0.3719, allocations: 1.781 MB / 0.5052 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.3719, allocations: 16 kB / 0.5053 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.372, allocations: 0 / 0.5053 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.372, allocations: 12.06 kB / 0.5053 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006493/0.3785, allocations: 3.128 MB / 0.5083 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.3785, allocations: 4 kB / 0.5083 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.3802, allocations: 325 kB / 0.5086 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005248/0.3807, allocations: 191.5 kB / 0.5088 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.3808, allocations: 55.53 kB / 0.5089 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005724/0.3865, allocations: 6.137 MB / 0.5149 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.3866, allocations: 7.938 kB / 0.5149 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004309/0.3909, allocations: 2.481 MB / 0.5173 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/0.3915, allocations: 243 kB / 0.5175 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.3917, allocations: 47.92 kB / 0.5176 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/0.3924, allocations: 51.95 kB / 0.5176 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.3927, allocations: 113 kB / 0.5177 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/0.3928, allocations: 39.98 kB / 0.5178 GB, free: 1.906 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000799/0.3936, allocations: 0.564 MB / 0.5183 GB, free: 1.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3936, allocations: 0 / 0.5183 GB, free: 1.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001847/0.3954, allocations: 492 kB / 0.5188 GB, free: 0.8516 MB / 414.1 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.00025/0.3957, allocations: 147 kB / 0.5189 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004915/0.4006, allocations: 2.633 MB / 0.5215 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4006, allocations: 0 / 0.5215 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.4026, allocations: 1.206 MB / 0.5227 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.4041, allocations: 286.2 kB / 0.523 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007425/0.4115, allocations: 4.395 MB / 0.5272 GB, free: 8.027 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.4126, allocations: 0.9352 MB / 0.5282 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001045/0.4137, allocations: 391.1 kB / 0.5285 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/0.414, allocations: 92.5 kB / 0.5286 GB, free: 6.574 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.414, allocations: 0 / 0.5286 GB, free: 6.574 MB / 430.1 MB Notification: Performance of Templates: time 0.04149/0.4555, allocations: 23.18 MB / 0.5513 GB, free: 15.71 MB / 462.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.794165808707476] Failed to read output from testmodel.py, exit status != 0: 0.464340727776289 0.478840634 0.19529072600000003 Calling exit ...