Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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.001704/0.001704, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001678/0.001678, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.1976/0.1976, allocations: 38.52 MB / 353.2 MB, free: 12.53 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_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") [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.002158/0.002158, allocations: 75.89 kB / 493.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2963, allocations: 62.46 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01082/0.3071, allocations: 8.326 MB / 0.5513 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.3177, allocations: 5.583 MB / 0.5568 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000945/0.3187, allocations: 38.47 kB / 0.5568 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01396/0.3326, allocations: 5.878 MB / 0.5626 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.3352, allocations: 0.8519 MB / 0.5634 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.3368, allocations: 0.5028 MB / 0.5639 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004883/0.3417, allocations: 2.632 MB / 0.5665 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.3429, allocations: 0.5516 MB / 0.567 GB, free: 12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.3445, allocations: 0.794 MB / 0.5678 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/0.3467, allocations: 1.129 MB / 0.5689 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003293/0.347, allocations: 104 kB / 0.569 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.3481, allocations: 403.5 kB / 0.5694 GB, free: 9.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009132/0.349, allocations: 0.674 MB / 0.57 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.3503, allocations: 0.6842 MB / 0.5707 GB, free: 8.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.3529, allocations: 1.747 MB / 0.5724 GB, free: 6.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3529, allocations: 0 / 0.5724 GB, free: 6.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3529, allocations: 0 / 0.5724 GB, free: 6.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.176e-05/0.3529, allocations: 0 / 0.5724 GB, free: 6.457 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003947/0.3569, allocations: 1.559 MB / 0.5739 GB, free: 4.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3569, allocations: 11.62 kB / 0.5739 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.3585, allocations: 271.8 kB / 0.5742 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.3609, allocations: 0.8698 MB / 0.575 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.361, allocations: 77.98 kB / 0.5751 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005155/0.3615, allocations: 183.8 kB / 0.5753 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.3643, allocations: 1.564 MB / 0.5768 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.601e-05/0.3644, allocations: 8 kB / 0.5768 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.3645, allocations: 39.97 kB / 0.5769 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006324/0.3651, allocations: 153.9 kB / 0.577 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.3676, allocations: 1.249 MB / 0.5782 GB, free: 336 kB / 414.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.0104/0.378, allocations: 6.361 MB / 0.5844 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.3798, allocations: 0.8774 MB / 0.5853 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008697/0.3806, allocations: 496.5 kB / 0.5858 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.676e-05/0.3807, allocations: 16.98 kB / 0.5858 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.3808, allocations: 43.56 kB / 0.5858 GB, free: 8.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 2.695e-06/0.3808, allocations: 0 / 0.5858 GB, free: 8.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007177/0.3879, allocations: 3.246 MB / 0.589 GB, free: 4.875 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/0.388, allocations: 90.05 kB / 0.5891 GB, free: 4.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.3891, allocations: 0.7312 MB / 0.5898 GB, free: 4.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.659e-05/0.3892, allocations: 41.7 kB / 0.5898 GB, free: 3.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.3897, allocations: 0.5667 MB / 0.5904 GB, free: 3.406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.3901, allocations: 384.7 kB / 0.5908 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003971/0.3905, allocations: 230.9 kB / 0.591 GB, free: 2.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002566/0.3907, allocations: 418.8 kB / 0.5914 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.3918, allocations: 0.5647 MB / 0.5919 GB, free: 1.812 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.3931, allocations: 0.8931 MB / 0.5928 GB, free: 0.7891 MB / 430.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.009024/0.4021, allocations: 3.232 MB / 0.596 GB, free: 13.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.4021, allocations: 4 kB / 0.596 GB, free: 13.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006363/0.4085, allocations: 2.69 MB / 0.5986 GB, free: 10.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.4085, allocations: 18.69 kB / 0.5986 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.4085, allocations: 12 kB / 0.5986 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/0.4116, allocations: 1.152 MB / 0.5997 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.4125, allocations: 203.7 kB / 0.5999 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02043/0.433, allocations: 12.08 MB / 0.6117 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009242/0.4339, allocations: 59.92 kB / 0.6118 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.4341, allocations: 59.92 kB / 0.6119 GB, free: 12.89 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0007689/0.4348, allocations: 405.4 kB / 0.6122 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.4351, allocations: 103.3 kB / 0.6123 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.4376, allocations: 1.257 MB / 0.6136 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4376, allocations: 8 kB / 0.6136 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4376, allocations: 0 / 0.6136 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.4376, allocations: 11.97 kB / 0.6136 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005119/0.4428, allocations: 2.474 MB / 0.616 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.4428, allocations: 3.938 kB / 0.616 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.4444, allocations: 279.9 kB / 0.6163 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/0.4446, allocations: 57.61 kB / 0.6163 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.4447, allocations: 39.98 kB / 0.6164 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.4471, allocations: 2.621 MB / 0.6189 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4471, allocations: 7.938 kB / 0.6189 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.4501, allocations: 1.751 MB / 0.6206 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/0.4507, allocations: 187.2 kB / 0.6208 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.4509, allocations: 43.98 kB / 0.6209 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.4515, allocations: 43.95 kB / 0.6209 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.4517, allocations: 76.73 kB / 0.621 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.4518, allocations: 27.98 kB / 0.621 GB, free: 3.133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007438/0.4525, allocations: 499 kB / 0.6215 GB, free: 2.648 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4525, allocations: 0 / 0.6215 GB, free: 2.648 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001395/0.4539, allocations: 376 kB / 0.6218 GB, free: 2.281 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,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.0002238/0.4541, allocations: 143.1 kB / 0.622 GB, free: 2.129 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004144/0.4583, allocations: 2.041 MB / 0.624 GB, free: 64 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4583, allocations: 3.938 kB / 0.624 GB, free: 60 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.4595, allocations: 0.7349 MB / 0.6247 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.4606, allocations: 210.2 kB / 0.6249 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/0.4678, allocations: 4.223 MB / 0.629 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.4691, allocations: 1.302 MB / 0.6303 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.4695, allocations: 83.42 kB / 0.6304 GB, free: 9.395 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4695, allocations: 0 / 0.6304 GB, free: 9.395 MB / 478.1 MB Notification: Performance of Templates: time 0.03613/0.5056, allocations: 24.14 MB / 0.6539 GB, free: 1.25 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.420237086014822] Failed to read output from testmodel.py, exit status != 0: 0.5155863231047988 0.5314328890000001 0.17508124 Calling exit ...