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.001851/0.001851, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002237/0.002237, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.184/0.184, allocations: 38.53 MB / 353.2 MB, free: 12.57 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.003288/0.003288, allocations: 70.72 kB / 493.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3093, allocations: 62.47 MB / 0.5432 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01308/0.3224, allocations: 10.88 MB / 0.5538 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.3335, allocations: 6.324 MB / 0.56 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.3348, allocations: 66.97 kB / 0.5601 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01331/0.3481, allocations: 6.163 MB / 0.5661 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.3512, allocations: 1.093 MB / 0.5672 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.3531, allocations: 0.6628 MB / 0.5678 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00507/0.3581, allocations: 3.321 MB / 0.5711 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.3596, allocations: 0.8592 MB / 0.5719 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.3615, allocations: 1.09 MB / 0.573 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.3641, allocations: 1.46 MB / 0.5744 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.3644, allocations: 144 kB / 0.5745 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.3655, allocations: 463.5 kB / 0.575 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009608/0.3665, allocations: 0.8687 MB / 0.5758 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.3678, allocations: 0.9291 MB / 0.5767 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.371, allocations: 2.284 MB / 0.579 GB, free: 15.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.371, allocations: 0 / 0.579 GB, free: 15.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.371, allocations: 0 / 0.579 GB, free: 15.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.288e-05/0.3711, allocations: 0 / 0.579 GB, free: 15.77 MB / 430.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.004844/0.3759, allocations: 2.041 MB / 0.5809 GB, free: 13.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.376, allocations: 19.98 kB / 0.581 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.3777, allocations: 331.5 kB / 0.5813 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.3807, allocations: 1.127 MB / 0.5824 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.282e-05/0.3808, allocations: 98.62 kB / 0.5825 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005337/0.3813, allocations: 227.8 kB / 0.5827 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003512/0.3848, allocations: 2.099 MB / 0.5847 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/0.3849, allocations: 11.89 kB / 0.5848 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.385, allocations: 59.97 kB / 0.5848 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006429/0.3856, allocations: 194.6 kB / 0.585 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003118/0.3888, allocations: 1.701 MB / 0.5867 GB, free: 7.676 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.01233/0.4011, allocations: 7.812 MB / 0.5943 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.4034, allocations: 1.242 MB / 0.5955 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.4044, allocations: 0.6215 MB / 0.5961 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.631e-05/0.4045, allocations: 16.98 kB / 0.5961 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.4045, allocations: 51.48 kB / 0.5962 GB, free: 13.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.086e-06/0.4045, allocations: 0 / 0.5962 GB, free: 13.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009288/0.4138, allocations: 4.528 MB / 0.6006 GB, free: 9.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.4139, allocations: 94.42 kB / 0.6007 GB, free: 8.902 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.4153, allocations: 0.9387 MB / 0.6016 GB, free: 7.945 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.4154, allocations: 53.7 kB / 0.6017 GB, free: 7.887 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/0.416, allocations: 0.7309 MB / 0.6024 GB, free: 7.145 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005612/0.4166, allocations: 0.5229 MB / 0.6029 GB, free: 6.617 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004495/0.417, allocations: 307.5 kB / 0.6032 GB, free: 6.309 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4171, allocations: 301.1 kB / 0.6035 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.4183, allocations: 0.7066 MB / 0.6042 GB, free: 5.305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.4199, allocations: 1.159 MB / 0.6053 GB, free: 3.957 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.01044/0.4303, allocations: 4.078 MB / 0.6093 GB, free: 15.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.4304, allocations: 4 kB / 0.6093 GB, free: 15.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007069/0.4374, allocations: 3.233 MB / 0.6124 GB, free: 12.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.4375, allocations: 12 kB / 0.6124 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.4375, allocations: 15.94 kB / 0.6125 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003085/0.4406, allocations: 1.208 MB / 0.6136 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.4418, allocations: 295.5 kB / 0.6139 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/0.4623, allocations: 14.73 MB / 0.6283 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.4635, allocations: 83.81 kB / 0.6284 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.4636, allocations: 68 kB / 0.6284 GB, free: 11.57 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.0009281/0.4646, allocations: 0.5003 MB / 0.6289 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.4648, allocations: 135.1 kB / 0.6291 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003368/0.4682, allocations: 1.796 MB / 0.6308 GB, free: 9.109 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.4682, allocations: 16 kB / 0.6308 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4682, allocations: 4 kB / 0.6308 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.4682, allocations: 11.97 kB / 0.6308 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006762/0.475, allocations: 3.498 MB / 0.6343 GB, free: 5.461 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.475, allocations: 4 kB / 0.6343 GB, free: 5.457 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.4766, allocations: 328 kB / 0.6346 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/0.4772, allocations: 191.2 kB / 0.6348 GB, free: 4.938 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.4773, allocations: 47.98 kB / 0.6348 GB, free: 4.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005875/0.4831, allocations: 6.263 MB / 0.6409 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4832, allocations: 7.938 kB / 0.6409 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/0.4874, allocations: 2.485 MB / 0.6434 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/0.4881, allocations: 254.9 kB / 0.6436 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.4883, allocations: 47.92 kB / 0.6436 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007044/0.489, allocations: 59.94 kB / 0.6437 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.4893, allocations: 109 kB / 0.6438 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/0.4894, allocations: 36 kB / 0.6438 GB, free: 11.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009497/0.4903, allocations: 0.6244 MB / 0.6444 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4903, allocations: 4 kB / 0.6444 GB, free: 10.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001702/0.492, allocations: 484 kB / 0.6449 GB, free: 10 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.0002366/0.4923, allocations: 151 kB / 0.6451 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004825/0.4971, allocations: 2.625 MB / 0.6476 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4971, allocations: 0 / 0.6476 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.499, allocations: 1.19 MB / 0.6488 GB, free: 5.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5005, allocations: 333.2 kB / 0.6491 GB, free: 5.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008352/0.5088, allocations: 5.112 MB / 0.6541 GB, free: 412 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.5102, allocations: 1.521 MB / 0.6556 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.5107, allocations: 103.4 kB / 0.6557 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.5107, allocations: 0 / 0.6557 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.05535/0.566, allocations: 43.34 MB / 0.698 GB, free: 3.41 MB / 0.5294 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 sys.exit(0), Time elapsed: 12.50717437081039] Failed to read output from testmodel.py, exit status != 0: 0.5774788991548121 0.589907275 0.21556312999999996 Calling exit ...