Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001344/0.001344, 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.001479/0.001479, allocations: 209.8 kB / 24.49 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.1906/0.1906, allocations: 38.53 MB / 353.2 MB, free: 12.6 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_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") [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.002104/0.002104, allocations: 71.89 kB / 493.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.337, allocations: 62.46 MB / 0.5432 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.0139/0.3509, allocations: 11.23 MB / 0.5542 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.3636, allocations: 7.18 MB / 0.5612 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.365, allocations: 67.44 kB / 0.5613 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02747/0.3924, allocations: 14.51 MB / 0.5754 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.396, allocations: 1.116 MB / 0.5765 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.3983, allocations: 0.6706 MB / 0.5772 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007301/0.4056, allocations: 4.082 MB / 0.5812 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.4074, allocations: 0.8514 MB / 0.582 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.4098, allocations: 1.113 MB / 0.5831 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.4125, allocations: 1.519 MB / 0.5846 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004937/0.413, allocations: 144 kB / 0.5847 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.4146, allocations: 0.589 MB / 0.5853 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.4158, allocations: 0.9077 MB / 0.5862 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.4178, allocations: 0.9523 MB / 0.5871 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004793/0.4226, allocations: 2.518 MB / 0.5895 GB, free: 4.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4226, allocations: 0 / 0.5895 GB, free: 4.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4226, allocations: 4 kB / 0.5896 GB, free: 4.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001122/0.4227, allocations: 4 kB / 0.5896 GB, free: 4.898 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.005609/0.4283, allocations: 2.135 MB / 0.5916 GB, free: 2.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4283, allocations: 11.98 kB / 0.5917 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.4305, allocations: 379.4 kB / 0.592 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003353/0.4338, allocations: 1.201 MB / 0.5932 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.4339, allocations: 106.6 kB / 0.5933 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007549/0.4347, allocations: 231.8 kB / 0.5935 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004177/0.4389, allocations: 2.145 MB / 0.5956 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-05/0.4389, allocations: 15.88 kB / 0.5956 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.4391, allocations: 55.98 kB / 0.5957 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006592/0.4398, allocations: 186.7 kB / 0.5959 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/0.4433, allocations: 1.756 MB / 0.5976 GB, free: 12.49 MB / 446.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.0142/0.4575, allocations: 8.468 MB / 0.6058 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.4601, allocations: 1.298 MB / 0.6071 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.4615, allocations: 0.7156 MB / 0.6078 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.4616, allocations: 29.06 kB / 0.6078 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.4617, allocations: 43.56 kB / 0.6079 GB, free: 1.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 2.715e-06/0.4617, allocations: 0 / 0.6079 GB, free: 1.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01971/0.4814, allocations: 7.148 MB / 0.6149 GB, free: 10.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.4815, allocations: 90.42 kB / 0.6149 GB, free: 10.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.4832, allocations: 1.041 MB / 0.616 GB, free: 9.133 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002149/0.4834, allocations: 57.64 kB / 0.616 GB, free: 9.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007382/0.4842, allocations: 0.7856 MB / 0.6168 GB, free: 8.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006904/0.4848, allocations: 0.5655 MB / 0.6173 GB, free: 7.703 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006106/0.4855, allocations: 327.4 kB / 0.6176 GB, free: 7.379 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4856, allocations: 305.1 kB / 0.6179 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.487, allocations: 0.773 MB / 0.6187 GB, free: 6.305 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.4889, allocations: 1.248 MB / 0.6199 GB, free: 4.863 MB / 462.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.01706/0.506, allocations: 5.614 MB / 0.6254 GB, free: 15.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.506, allocations: 4 kB / 0.6254 GB, free: 15.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01314/0.5191, allocations: 3.776 MB / 0.6291 GB, free: 11.28 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.5192, allocations: 12 kB / 0.6291 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/0.5192, allocations: 12 kB / 0.6291 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009542/0.5288, allocations: 1.74 MB / 0.6308 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.5306, allocations: 271.5 kB / 0.6311 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03802/0.5686, allocations: 18.1 MB / 0.6487 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.5699, allocations: 83.94 kB / 0.6488 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.5701, allocations: 83.97 kB / 0.6489 GB, free: 6.52 MB / 494.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.generator.psi_rq[1] = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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: 63 * 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 (130): * Single equations (assignments): 126 * 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 {(2,11,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,49), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000995/0.5711, allocations: 0.5367 MB / 0.6494 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.5714, allocations: 151 kB / 0.6496 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005394/0.5768, allocations: 2.243 MB / 0.6517 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.5768, allocations: 16 kB / 0.6518 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.5768, allocations: 7.938 kB / 0.6518 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.5769, allocations: 11.95 kB / 0.6518 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009057/0.5859, allocations: 4.133 MB / 0.6558 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5859, allocations: 320 / 0.6558 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.5875, allocations: 311.6 kB / 0.6561 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002649/0.5901, allocations: 0.5464 MB / 0.6567 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/0.5903, allocations: 51.97 kB / 0.6567 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.6015, allocations: 9.634 MB / 0.6661 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6015, allocations: 8.016 kB / 0.6661 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/0.608, allocations: 3.069 MB / 0.6691 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008314/0.6088, allocations: 270.9 kB / 0.6694 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.609, allocations: 51.92 kB / 0.6694 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008129/0.6098, allocations: 63.94 kB / 0.6695 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/0.6101, allocations: 129 kB / 0.6696 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.566e-05/0.6102, allocations: 39.98 kB / 0.6696 GB, free: 492 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001009/0.6112, allocations: 0.6892 MB / 0.6703 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6112, allocations: 0 / 0.6703 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001859/0.6131, allocations: 0.5663 MB / 0.6709 GB, free: 15.22 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 23 (inertia.w,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],meterDC.pav,inverter2.vDC1,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]) * 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 (119): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,9,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003718/0.6135, allocations: 182.9 kB / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005396/0.6189, allocations: 2.995 MB / 0.674 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6189, allocations: 0 / 0.674 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00247/0.6213, allocations: 1.533 MB / 0.6755 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.6227, allocations: 321.5 kB / 0.6758 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008505/0.6312, allocations: 5.262 MB / 0.6809 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/0.6327, allocations: 1.585 MB / 0.6825 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.6331, allocations: 107.4 kB / 0.6826 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.6331, allocations: 0 / 0.6826 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of Templates: time 0.06272/0.6959, allocations: 50.39 MB / 0.7318 GB, free: 0.6055 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 14.000743523007259] Failed to read output from testmodel.py, exit status != 0: 0.8954461240209639 0.90535398 0.480136234 Calling exit ...