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.001473/0.001473, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001837/0.001837, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.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.1825/0.1825, allocations: 38.55 MB / 352.5 MB, free: 12.31 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003226/0.003226, allocations: 70.25 kB / 493 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3778, allocations: 62.47 MB / 0.5424 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01595/0.3937, allocations: 9.921 MB / 0.5521 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.4058, allocations: 5.748 MB / 0.5577 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.4075, allocations: 70.19 kB / 0.5578 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01383/0.4213, allocations: 6.01 MB / 0.5637 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.4247, allocations: 1.089 MB / 0.5647 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.4269, allocations: 0.6667 MB / 0.5654 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005361/0.4323, allocations: 3.31 MB / 0.5686 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.4339, allocations: 0.8435 MB / 0.5694 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.4361, allocations: 1.105 MB / 0.5705 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/0.4386, allocations: 1.398 MB / 0.5719 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003074/0.4389, allocations: 144 kB / 0.572 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.44, allocations: 447.4 kB / 0.5724 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001/0.441, allocations: 0.8687 MB / 0.5733 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.4422, allocations: 0.7623 MB / 0.574 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003155/0.4453, allocations: 2.308 MB / 0.5763 GB, free: 1.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4453, allocations: 4 kB / 0.5763 GB, free: 1.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4453, allocations: 4 kB / 0.5763 GB, free: 1.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.271e-05/0.4454, allocations: 3.984 kB / 0.5763 GB, free: 1.402 MB / 414.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.004531/0.4499, allocations: 2.033 MB / 0.5783 GB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4499, allocations: 11.98 kB / 0.5783 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.4518, allocations: 335.5 kB / 0.5786 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.4547, allocations: 1.127 MB / 0.5797 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.576e-05/0.4548, allocations: 102.6 kB / 0.5798 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005656/0.4554, allocations: 223.8 kB / 0.58 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003815/0.4592, allocations: 2.095 MB / 0.5821 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-05/0.4593, allocations: 15.88 kB / 0.5821 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.4594, allocations: 59.98 kB / 0.5821 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006864/0.4601, allocations: 186.6 kB / 0.5823 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.4632, allocations: 1.705 MB / 0.584 GB, free: 9.328 MB / 430.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.01236/0.4755, allocations: 6.939 MB / 0.5908 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.4779, allocations: 1.251 MB / 0.592 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.479, allocations: 0.6098 MB / 0.5926 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-05/0.4791, allocations: 16.94 kB / 0.5926 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.4791, allocations: 55.56 kB / 0.5926 GB, free: 196 kB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.757e-06/0.4792, allocations: 0 / 0.5926 GB, free: 196 kB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.01038/0.4895, allocations: 4.518 MB / 0.5971 GB, free: 11.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.974e-05/0.4896, allocations: 98.36 kB / 0.5972 GB, free: 11.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.4909, allocations: 0.8802 MB / 0.598 GB, free: 10.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.4911, allocations: 45.7 kB / 0.5981 GB, free: 10.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006976/0.4918, allocations: 0.7464 MB / 0.5988 GB, free: 9.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005802/0.4923, allocations: 0.5269 MB / 0.5993 GB, free: 9.281 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004881/0.4928, allocations: 307.5 kB / 0.5996 GB, free: 8.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.493, allocations: 301.1 kB / 0.5999 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.4942, allocations: 0.7066 MB / 0.6006 GB, free: 7.969 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.4959, allocations: 1.147 MB / 0.6017 GB, free: 6.633 MB / 446.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.0103/0.5062, allocations: 4.082 MB / 0.6057 GB, free: 2.379 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.5062, allocations: 4 kB / 0.6057 GB, free: 2.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007049/0.5132, allocations: 3.225 MB / 0.6088 GB, free: 15.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.5132, allocations: 12 kB / 0.6088 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/0.5133, allocations: 15.94 kB / 0.6089 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003071/0.5163, allocations: 1.181 MB / 0.61 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.5175, allocations: 295.5 kB / 0.6103 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/0.5382, allocations: 14.4 MB / 0.6244 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.5395, allocations: 95.83 kB / 0.6244 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.5396, allocations: 68 kB / 0.6245 GB, free: 14.64 MB / 478.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.0009779/0.5406, allocations: 0.4922 MB / 0.625 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.5408, allocations: 139 kB / 0.6251 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.5441, allocations: 1.783 MB / 0.6269 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.5441, allocations: 16 kB / 0.6269 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5441, allocations: 11.88 kB / 0.6269 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.5441, allocations: 7.984 kB / 0.6269 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006071/0.5502, allocations: 3.119 MB / 0.6299 GB, free: 8.957 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5502, allocations: 4 kB / 0.63 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.5518, allocations: 328 kB / 0.6303 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005173/0.5523, allocations: 187.2 kB / 0.6304 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.5524, allocations: 47.97 kB / 0.6305 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005862/0.5583, allocations: 6.148 MB / 0.6365 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.5583, allocations: 7.938 kB / 0.6365 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00409/0.5623, allocations: 2.48 MB / 0.6389 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007342/0.5631, allocations: 250.9 kB / 0.6392 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.5633, allocations: 43.98 kB / 0.6392 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.5639, allocations: 63.88 kB / 0.6393 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.5641, allocations: 105 kB / 0.6394 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.5642, allocations: 36 kB / 0.6394 GB, free: 14.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008194/0.565, allocations: 0.5718 MB / 0.64 GB, free: 14.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.565, allocations: 0 / 0.64 GB, free: 14.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0018/0.5668, allocations: 484 kB / 0.6404 GB, free: 13.73 MB / 494.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.0002444/0.5671, allocations: 147 kB / 0.6406 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004832/0.5719, allocations: 2.624 MB / 0.6431 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5719, allocations: 3.938 kB / 0.6431 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.5739, allocations: 1.195 MB / 0.6443 GB, free: 9.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.5753, allocations: 294.8 kB / 0.6446 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.587, allocations: 4.976 MB / 0.6494 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/0.5888, allocations: 0.9352 MB / 0.6503 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001935/0.5908, allocations: 391.1 kB / 0.6507 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/0.5913, allocations: 99.42 kB / 0.6508 GB, free: 2.859 MB / 494.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5913, allocations: 0 / 0.6508 GB, free: 2.859 MB / 494.1 MB Notification: Performance of Templates: time 0.06765/0.6589, allocations: 25.44 MB / 0.6757 GB, free: 9.684 MB / 0.5137 GB " [Timeout remaining time 659] 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: 6.447390343993902] Failed to read output from testmodel.py, exit status != 0: 0.6725144796073437 0.6897025059999999 0.241039004 Calling exit ...